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.001413/0.001413, allocations: 95.47 kB / 16.3 MB, free: 5.996 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.001746/0.001746, allocations: 183.2 kB / 17.2 MB, free: 5.914 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.422/1.422, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 5.219 kB / 300.7 MB, free: 6.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1076, allocations: 50.42 MB / 351.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004674/0.1123, allocations: 3.056 MB / 354.2 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1143, allocations: 0.9821 MB / 355.2 MB, free: 7.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.1146, allocations: 19.88 kB / 355.2 MB, free: 7.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.1149, allocations: 127.3 kB / 355.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007319/0.1157, allocations: 227.3 kB / 355.5 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1159, allocations: 83.86 kB / 355.6 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1172, allocations: 0.8692 MB / 356.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.1186, allocations: 0.8299 MB / 357.3 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007315/0.1193, allocations: 446.5 kB / 357.8 MB, free: 5.223 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000949/0.1203, allocations: 0.5291 MB / 358.3 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.1205, allocations: 72 kB / 358.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.1207, allocations: 72 kB / 358.4 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.1211, allocations: 339 kB / 358.8 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.1214, allocations: 273.1 kB / 359 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.1233, allocations: 1.636 MB / 360.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1234, allocations: 8 kB / 360.7 MB, free: 2.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1234, allocations: 0 / 360.7 MB, free: 2.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.022e-05/0.1234, allocations: 0 / 360.7 MB, free: 2.297 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.003771/0.1272, allocations: 1.489 MB / 362.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1273, allocations: 8.031 kB / 362.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.1276, allocations: 146.3 kB / 362.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.1295, allocations: 0.8298 MB / 363.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/0.1296, allocations: 86.25 kB / 363.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.1298, allocations: 108 kB / 363.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003473/0.1333, allocations: 1.56 MB / 364.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.1334, allocations: 4 kB / 364.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.1336, allocations: 51.94 kB / 364.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.1336, allocations: 31.95 kB / 365 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.1367, allocations: 1.336 MB / 366.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008302/0.145, allocations: 4.361 MB / 370.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1461, allocations: 1.349 MB / 372 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1461, allocations: 4.438 kB / 372 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1462, allocations: 39 kB / 372.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.665e-06/0.1462, allocations: 0 / 372.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001405/0.1476, allocations: 0.9119 MB / 373 MB, free: 5.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1476, allocations: 59.84 kB / 373 MB, free: 5.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.1485, allocations: 0.8087 MB / 373.8 MB, free: 4.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.1486, allocations: 37.7 kB / 373.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.1489, allocations: 0.5415 MB / 374.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.149, allocations: 181.4 kB / 374.6 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.1491, allocations: 12 kB / 374.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1492, allocations: 382.8 kB / 375 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.1497, allocations: 312.9 kB / 375.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.1502, allocations: 410.5 kB / 375.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.1507, allocations: 370 kB / 376 MB, free: 2.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.1507, allocations: 3.984 kB / 376 MB, free: 2.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001144/0.1518, allocations: 0.8453 MB / 376.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1519, allocations: 8 kB / 376.9 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1519, allocations: 4 kB / 376.9 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1519, allocations: 8.281 kB / 376.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.1525, allocations: 147.8 kB / 377.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1525, allocations: 7.938 kB / 377.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.1529, allocations: 67.41 kB / 377.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.1529, allocations: 16 kB / 377.1 MB, free: 1.25 MB / 302.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.0005452/0.1535, allocations: 465.4 kB / 377.6 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1536, allocations: 75.11 kB / 377.7 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.1538, allocations: 95.08 kB / 377.8 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1538, allocations: 4 kB / 377.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1538, allocations: 0 / 377.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1538, allocations: 7.922 kB / 377.8 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.1566, allocations: 1.958 MB / 379.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1566, allocations: 0 / 379.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.1571, allocations: 119.9 kB / 379.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.1571, allocations: 4 kB / 379.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.1572, allocations: 12 kB / 379.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1572, allocations: 4.094 kB / 379.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1572, allocations: 7.953 kB / 379.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.1586, allocations: 1.178 MB / 381.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.1588, allocations: 180.1 kB / 381.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.1589, allocations: 11.94 kB / 381.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.1594, allocations: 55.94 kB / 381.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.1595, allocations: 32.39 kB / 381.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.1595, allocations: 20 kB / 381.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.1602, allocations: 0.581 MB / 381.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1602, allocations: 0 / 381.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006675/0.1609, allocations: 286.8 kB / 382.2 MB, free: 12.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (51): * Single equations (assignments): 51 * 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.0001616/0.161, allocations: 123.2 kB / 382.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009965/0.162, allocations: 0.6653 MB / 383 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1621, allocations: 0 / 383 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.1625, allocations: 335 kB / 383.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.1632, allocations: 162.7 kB / 383.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.1679, allocations: 2.723 MB / 386.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.1692, allocations: 1.364 MB / 387.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006729/0.1699, allocations: 217.7 kB / 387.8 MB, free: 6.383 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.1701, allocations: 51.44 kB / 387.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1701, allocations: 0 / 387.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of Templates: time 0.01653/0.1866, allocations: 9.108 MB / 396.9 MB, free: 13.34 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","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches