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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 114.1 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 189.3 kB / 18.2 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001273, allocations: 43.94 kB / 280.1 MB, free: 3.52 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 46.64 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005376/0.1108, allocations: 3.742 MB / 330.5 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1128, allocations: 1.006 MB / 331.5 MB, free: 24 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.1131, allocations: 11.94 kB / 331.5 MB, free: 12 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1134, allocations: 123.2 kB / 331.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007126/0.1141, allocations: 250.8 kB / 331.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1144, allocations: 123.8 kB / 332 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1158, allocations: 1.401 MB / 333.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.117, allocations: 1.114 MB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.1177, allocations: 0.6191 MB / 335.2 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/0.1187, allocations: 0.7745 MB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.1189, allocations: 156 kB / 336.1 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.1191, allocations: 159.9 kB / 336.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.1196, allocations: 470.7 kB / 336.7 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007551/0.1203, allocations: 0.7234 MB / 337.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.1221, allocations: 2.017 MB / 339.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1221, allocations: 0 / 339.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1221, allocations: 0 / 339.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.1221, allocations: 4 kB / 339.4 MB, free: 8.047 MB / 286.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.002796/0.1249, allocations: 1.66 MB / 341.1 MB, free: 6.332 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.125, allocations: 11.89 kB / 341.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.1252, allocations: 143.3 kB / 341.3 MB, free: 6.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.1264, allocations: 0.8034 MB / 342.1 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.1265, allocations: 82.53 kB / 342.1 MB, free: 5.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.1266, allocations: 111.9 kB / 342.3 MB, free: 5.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.129, allocations: 1.541 MB / 343.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1291, allocations: 4 kB / 343.8 MB, free: 3.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.1292, allocations: 48 kB / 343.8 MB, free: 3.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.1292, allocations: 28 kB / 343.9 MB, free: 3.477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.1312, allocations: 1.304 MB / 345.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006221/0.1375, allocations: 4.22 MB / 349.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.1387, allocations: 1.315 MB / 350.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.1393, allocations: 454.5 kB / 351.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.1394, allocations: 4.438 kB / 351.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1394, allocations: 50.92 kB / 351.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.1394, allocations: 0 / 351.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003257/0.1427, allocations: 1.938 MB / 353.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1427, allocations: 55.84 kB / 353.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.1438, allocations: 0.8204 MB / 354 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1438, allocations: 41.7 kB / 354.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.1442, allocations: 0.5375 MB / 354.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.1443, allocations: 177.4 kB / 354.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.1445, allocations: 106.2 kB / 354.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1447, allocations: 386.7 kB / 355.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.1451, allocations: 304.9 kB / 355.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.1457, allocations: 399.4 kB / 355.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009762/0.1467, allocations: 0.7028 MB / 356.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1467, allocations: 0 / 356.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00135/0.1481, allocations: 0.9164 MB / 357.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1481, allocations: 8 kB / 357.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1481, allocations: 0 / 357.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.1484, allocations: 116.8 kB / 357.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.1489, allocations: 127.8 kB / 357.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.1512, allocations: 2.364 MB / 360.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.1515, allocations: 31.91 kB / 360.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.1516, allocations: 24.06 kB / 360.2 MB, free: 2.457 MB / 302.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.0006484/0.1522, allocations: 449.5 kB / 360.7 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1524, allocations: 79.09 kB / 360.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.1525, allocations: 95.06 kB / 360.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1525, allocations: 4 kB / 360.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.1525, allocations: 12 kB / 360.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1525, allocations: 3.938 kB / 360.9 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.1556, allocations: 2.025 MB / 362.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.1556, allocations: 4 kB / 362.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.1559, allocations: 91.81 kB / 363 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/0.1562, allocations: 96.94 kB / 363.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.1562, allocations: 23.98 kB / 363.1 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.1584, allocations: 2.318 MB / 365.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1584, allocations: 0 / 365.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.16, allocations: 1.207 MB / 366.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.1602, allocations: 160.3 kB / 366.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.542e-05/0.1603, allocations: 12 kB / 366.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.1607, allocations: 47.95 kB / 366.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1609, allocations: 48.38 kB / 366.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.1609, allocations: 16 kB / 366.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000713/0.1616, allocations: 0.5849 MB / 367.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1616, allocations: 0 / 367.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007736/0.1624, allocations: 208 kB / 367.7 MB, free: 10.71 MB / 318.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.0001703/0.1626, allocations: 115.2 kB / 367.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.1642, allocations: 0.9334 MB / 368.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1642, allocations: 4 kB / 368.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.1649, allocations: 497.8 kB / 369.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/0.1658, allocations: 178.5 kB / 369.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.1696, allocations: 2.695 MB / 372.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009651/0.1706, allocations: 1.336 MB / 373.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000463/0.1711, allocations: 177.8 kB / 373.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.1713, allocations: 51.42 kB / 373.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1713, allocations: 3.938 kB / 373.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Templates: time 0.2315/0.4027, allocations: 10.35 MB / 384 MB, free: 51.5 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches