Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.0008981, allocations: 86.16 kB / 16.31 MB, free: 6.453 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.0009373/0.0009374, allocations: 179.5 kB / 17.21 MB, free: 6.328 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.423/1.423, allocations: 223.3 MB / 241.2 MB, free: 5.418 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000246/0.000246, allocations: 7.406 kB / 300.8 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1076, allocations: 50.42 MB / 351.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003761/0.1114, allocations: 3.239 MB / 354.5 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1131, allocations: 0.9507 MB / 355.4 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.1133, allocations: 19.94 kB / 355.4 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1136, allocations: 115.2 kB / 355.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.1143, allocations: 266.6 kB / 355.8 MB, free: 7.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1145, allocations: 79.92 kB / 355.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.1159, allocations: 1.49 MB / 357.4 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009915/0.1169, allocations: 0.8377 MB / 358.2 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.1175, allocations: 482.2 kB / 358.7 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007961/0.1183, allocations: 0.6225 MB / 359.3 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.1184, allocations: 75.94 kB / 359.4 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1186, allocations: 72 kB / 359.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.1189, allocations: 358.9 kB / 359.8 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.1192, allocations: 273.1 kB / 360.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.1206, allocations: 1.644 MB / 361.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1206, allocations: 0 / 361.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1206, allocations: 0 / 361.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1207, allocations: 0 / 361.7 MB, free: 1.164 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002413/0.1231, allocations: 1.489 MB / 363.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1231, allocations: 12.03 kB / 363.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.1233, allocations: 146.2 kB / 363.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.1246, allocations: 0.8298 MB / 364.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/0.1247, allocations: 82.25 kB / 364.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.1249, allocations: 112 kB / 364.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.1274, allocations: 1.576 MB / 366 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1274, allocations: 0 / 366 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.1275, allocations: 44 kB / 366 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.1276, allocations: 31.95 kB / 366 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.1297, allocations: 1.336 MB / 367.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006413/0.1362, allocations: 4.353 MB / 371.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.1374, allocations: 1.35 MB / 373.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/0.1383, allocations: 0.5571 MB / 373.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.1384, allocations: 4.438 kB / 373.6 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1384, allocations: 46.92 kB / 373.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.384e-06/0.1384, allocations: 0 / 373.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001483/0.1399, allocations: 0.8808 MB / 374.6 MB, free: 3.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.14, allocations: 63.83 kB / 374.6 MB, free: 3.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.141, allocations: 0.8126 MB / 375.4 MB, free: 2.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.141, allocations: 37.7 kB / 375.5 MB, free: 2.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.1414, allocations: 0.5376 MB / 376 MB, free: 2.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1416, allocations: 181.4 kB / 376.2 MB, free: 2.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1416, allocations: 12 kB / 376.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1418, allocations: 382.8 kB / 376.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.1422, allocations: 312.8 kB / 376.9 MB, free: 1.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.1428, allocations: 394.5 kB / 377.3 MB, free: 1.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.1433, allocations: 374 kB / 377.6 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1433, allocations: 3.953 kB / 377.6 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00125/0.1446, allocations: 0.826 MB / 378.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1446, allocations: 8 kB / 378.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1446, allocations: 4 kB / 378.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1446, allocations: 4 kB / 378.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.1452, allocations: 159.7 kB / 378.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1453, allocations: 4 kB / 378.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.1456, allocations: 67.5 kB / 378.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.1457, allocations: 20 kB / 378.7 MB, free: 15.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006044/0.1463, allocations: 461.4 kB / 379.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1464, allocations: 75.11 kB / 379.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.1466, allocations: 87.08 kB / 379.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1466, allocations: 11.98 kB / 379.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.1466, allocations: 4 kB / 379.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1466, allocations: 0 / 379.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.1495, allocations: 1.97 MB / 381.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1495, allocations: 0 / 381.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.15, allocations: 115.9 kB / 381.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.15, allocations: 4 kB / 381.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.1501, allocations: 15.94 kB / 381.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1501, allocations: 4 kB / 381.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1501, allocations: 12.09 kB / 381.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.1516, allocations: 1.141 MB / 382.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1518, allocations: 172.1 kB / 382.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.1519, allocations: 12 kB / 382.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.1523, allocations: 59.91 kB / 382.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1524, allocations: 44.31 kB / 382.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.1524, allocations: 16 kB / 382.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007284/0.1532, allocations: 0.5849 MB / 383.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1532, allocations: 0 / 383.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007289/0.1539, allocations: 286.7 kB / 383.8 MB, free: 10.42 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.1541, allocations: 119.1 kB / 383.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.1551, allocations: 0.6575 MB / 384.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1551, allocations: 0 / 384.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.1556, allocations: 327.1 kB / 384.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.1565, allocations: 185.1 kB / 385 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.1604, allocations: 2.717 MB / 387.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/0.1614, allocations: 1.34 MB / 389.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005154/0.162, allocations: 209.8 kB / 389.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.1621, allocations: 55.44 kB / 389.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1621, allocations: 0 / 389.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of Templates: time 0.01538/0.1775, allocations: 9.16 MB / 398.5 MB, free: 11.68 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches