Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 117.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 207.6 MB / 231.8 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 55.92 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08768, allocations: 49.13 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005042/0.09272, allocations: 3.726 MB / 395.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.09455, allocations: 1.017 MB / 396.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.09475, allocations: 23.81 kB / 396.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.09508, allocations: 158.8 kB / 396.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007472/0.09583, allocations: 290.4 kB / 396.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.0961, allocations: 135.8 kB / 396.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.09754, allocations: 1.408 MB / 398.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009872/0.09852, allocations: 0.8407 MB / 399 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.09924, allocations: 0.6231 MB / 399.6 MB, free: 424 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009903/0.1002, allocations: 0.7745 MB / 400.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.1004, allocations: 156 kB / 400.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.1007, allocations: 156 kB / 400.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.1011, allocations: 466.7 kB / 401.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007404/0.1018, allocations: 0.731 MB / 401.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.1037, allocations: 2.036 MB / 403.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1038, allocations: 0 / 403.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1038, allocations: 0 / 403.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.1038, allocations: 0 / 403.9 MB, free: 12.1 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002909/0.1067, allocations: 1.69 MB / 405.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1067, allocations: 8.031 kB / 405.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.107, allocations: 177.2 kB / 405.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.1072, allocations: 144 kB / 405.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.1084, allocations: 0.8234 MB / 406.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.631e-05/0.1085, allocations: 86.16 kB / 406.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.1087, allocations: 112 kB / 407 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.1112, allocations: 1.537 MB / 408.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.1112, allocations: 3.984 kB / 408.5 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1113, allocations: 48 kB / 408.5 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.1113, allocations: 28 kB / 408.6 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.1136, allocations: 1.308 MB / 409.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006549/0.1201, allocations: 4.183 MB / 414.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.1214, allocations: 1.28 MB / 415.3 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.1221, allocations: 426.6 kB / 415.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1221, allocations: 4.438 kB / 415.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.1222, allocations: 43 kB / 415.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.404e-06/0.1222, allocations: 3.938 kB / 415.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.0035/0.1257, allocations: 1.956 MB / 417.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1257, allocations: 55.84 kB / 417.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.1268, allocations: 0.8281 MB / 418.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.1268, allocations: 37.7 kB / 418.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.1273, allocations: 0.5467 MB / 419.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1274, allocations: 186.4 kB / 419.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.1276, allocations: 106.2 kB / 419.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1278, allocations: 382.8 kB / 419.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.1283, allocations: 304.9 kB / 420.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.1288, allocations: 399.4 kB / 420.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.1299, allocations: 0.6989 MB / 421.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1299, allocations: 4 kB / 421.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001499/0.1314, allocations: 0.9128 MB / 422.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1314, allocations: 15.78 kB / 422.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1314, allocations: 4 kB / 422.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.1317, allocations: 109.1 kB / 422.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.1322, allocations: 123.8 kB / 422.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.1347, allocations: 2.368 MB / 424.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.1351, allocations: 32.12 kB / 424.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.1352, allocations: 27.94 kB / 424.9 MB, free: 6.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006306/0.1358, allocations: 453.5 kB / 425.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1359, allocations: 75.53 kB / 425.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.1361, allocations: 91.08 kB / 425.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1361, allocations: 4 kB / 425.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1361, allocations: 3.938 kB / 425.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1361, allocations: 3.984 kB / 425.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.1393, allocations: 2.017 MB / 427.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1394, allocations: 4 kB / 427.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.1397, allocations: 92.03 kB / 427.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.14, allocations: 104.7 kB / 427.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.14, allocations: 24.11 kB / 427.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.1424, allocations: 2.322 MB / 430 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.1424, allocations: 4.031 kB / 430 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.1442, allocations: 1.204 MB / 431.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.1444, allocations: 172.5 kB / 431.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.953e-05/0.1445, allocations: 8 kB / 431.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.1449, allocations: 52.02 kB / 431.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.145, allocations: 44.31 kB / 431.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.145, allocations: 12 kB / 431.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007867/0.1458, allocations: 0.5888 MB / 432.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1458, allocations: 0 / 432.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007592/0.1466, allocations: 212 kB / 432.3 MB, free: 14.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002101/0.1487, allocations: 1.757 MB / 434.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.1501, allocations: 0.8009 MB / 434.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1501, allocations: 0 / 434.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.1509, allocations: 484.7 kB / 435.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.1518, allocations: 187.6 kB / 435.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.1642, allocations: 8.605 MB / 444.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.1653, allocations: 1.328 MB / 445.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000549/0.1658, allocations: 181.8 kB / 445.6 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.1663, allocations: 375.3 kB / 446 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1663, allocations: 0 / 446 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2193/0.3857, allocations: 19.58 MB / 465.6 MB, free: 64.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.29, allocations: 9.781 kB / 465.6 MB, free: 64.77 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.819302358999266]