Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009156/0.0009161, allocations: 95.08 kB / 16.3 MB, free: 6.457 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.0008794/0.0008795, allocations: 184.5 kB / 17.19 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 241.1 MB, free: 5.383 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003011, allocations: 7.219 kB / 300.7 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 50.42 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003758/0.1104, allocations: 3.052 MB / 354.2 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1123, allocations: 0.9315 MB / 355.1 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.1126, allocations: 19.88 kB / 355.1 MB, free: 7.691 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1129, allocations: 127.3 kB / 355.3 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006875/0.1136, allocations: 215.3 kB / 355.5 MB, free: 7.355 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1139, allocations: 79.91 kB / 355.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008925/0.1148, allocations: 0.8614 MB / 356.4 MB, free: 6.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009499/0.1157, allocations: 0.7942 MB / 357.2 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.1163, allocations: 438.5 kB / 357.6 MB, free: 5.164 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.117, allocations: 0.5252 MB / 358.2 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1171, allocations: 72 kB / 358.2 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1172, allocations: 68 kB / 358.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.1175, allocations: 323.1 kB / 358.6 MB, free: 4.184 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.1178, allocations: 273 kB / 358.9 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1191, allocations: 1.617 MB / 360.5 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1191, allocations: 0 / 360.5 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1191, allocations: 0 / 360.5 MB, free: 2.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.1191, allocations: 0 / 360.5 MB, free: 2.289 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.002604/0.1217, allocations: 1.473 MB / 362 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.1218, allocations: 8.031 kB / 362 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.1221, allocations: 142.3 kB / 362.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.1236, allocations: 0.8219 MB / 362.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.1237, allocations: 90.2 kB / 363 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.1239, allocations: 108 kB / 363.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.1263, allocations: 1.529 MB / 364.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.1263, allocations: 4 kB / 364.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.1264, allocations: 48 kB / 364.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.1265, allocations: 39.89 kB / 364.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.1285, allocations: 1.308 MB / 366.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00663/0.1352, allocations: 4.244 MB / 370.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1364, allocations: 1.325 MB / 371.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1364, allocations: 4.438 kB / 371.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1364, allocations: 42.95 kB / 371.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.456e-06/0.1364, allocations: 4 kB / 371.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.003214/0.1397, allocations: 1.981 MB / 373.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1397, allocations: 55.84 kB / 373.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.1407, allocations: 0.8125 MB / 374.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.1408, allocations: 33.7 kB / 374.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.1412, allocations: 0.5376 MB / 375.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.1413, allocations: 177.5 kB / 375.3 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.1413, allocations: 8 kB / 375.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1415, allocations: 390.8 kB / 375.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.142, allocations: 312.9 kB / 376 MB, free: 2.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.1425, allocations: 415.2 kB / 376.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.1431, allocations: 374 kB / 376.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1431, allocations: 0 / 376.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00138/0.1445, allocations: 0.9322 MB / 377.7 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1445, allocations: 15.98 kB / 377.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1445, allocations: 3.953 kB / 377.7 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.1448, allocations: 104.8 kB / 377.8 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.1454, allocations: 131.8 kB / 377.9 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.1475, allocations: 2.181 MB / 380.1 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.1479, allocations: 31.97 kB / 380.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.148, allocations: 16 kB / 380.1 MB, free: 13.89 MB / 318.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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007017/0.1487, allocations: 457.4 kB / 380.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1488, allocations: 75.14 kB / 380.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.149, allocations: 95.33 kB / 380.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.149, allocations: 11.98 kB / 380.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.149, allocations: 3.938 kB / 380.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.149, allocations: 3.984 kB / 380.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.1522, allocations: 2.004 MB / 382.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1522, allocations: 0 / 382.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.1526, allocations: 96.12 kB / 382.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.1528, allocations: 100.8 kB / 383 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.1529, allocations: 23.94 kB / 383 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.1549, allocations: 2.142 MB / 385.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1549, allocations: 0 / 385.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.1567, allocations: 1.227 MB / 386.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.1569, allocations: 164.2 kB / 386.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.157, allocations: 16.06 kB / 386.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/0.1575, allocations: 47.95 kB / 386.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1576, allocations: 48.27 kB / 386.6 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.1576, allocations: 19.98 kB / 386.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008196/0.1584, allocations: 0.5771 MB / 387.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1585, allocations: 3.938 kB / 387.2 MB, free: 6.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008534/0.1593, allocations: 212 kB / 387.4 MB, free: 6.312 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.1595, allocations: 111.2 kB / 387.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.1609, allocations: 0.8242 MB / 388.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.161, allocations: 0.625 kB / 388.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007277/0.1617, allocations: 0.4891 MB / 388.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.1624, allocations: 167 kB / 389 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.1662, allocations: 2.594 MB / 391.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/0.1671, allocations: 1.36 MB / 393 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005038/0.1676, allocations: 189.6 kB / 393.2 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.1678, allocations: 51.44 kB / 393.2 MB, free: 436 kB / 318.1 MB Notification: Performance of SimCode: time 1.934e-06/0.1678, allocations: 0 / 393.2 MB, free: 436 kB / 318.1 MB Notification: Performance of Templates: time 0.01644/0.1842, allocations: 9.568 MB / 402.8 MB, free: 6.977 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches