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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000763/0.000763, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001822, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007243/0.0007243, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009012/0.001625, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.003/1.003, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.104, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] 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=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.116e-05, allocations: 2.312 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.009352/0.009373, allocations: 3.745 MB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.01103, allocations: 0.9809 MB / 244.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.01124, allocations: 27.81 kB / 244.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.01451, allocations: 154.9 kB / 244.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006381/0.01515, allocations: 310 kB / 244.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.01539, allocations: 131.8 kB / 244.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.01657, allocations: 1.447 MB / 246.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006861/0.01726, allocations: 0.6392 MB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.02127, allocations: 1.02 MB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008461/0.02211, allocations: 0.76 MB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.02229, allocations: 159.9 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.0225, allocations: 156 kB / 249.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.02283, allocations: 391 kB / 249.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.02331, allocations: 427.2 kB / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.02739, allocations: 1.145 MB / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.625e-05/0.02741, allocations: 0 / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.02741, allocations: 0 / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.02744, allocations: 0 / 251 MB, free: 7.641 MB / 250.7 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.005094/0.03253, allocations: 1.765 MB / 252.8 MB, free: 5.844 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.03257, allocations: 8.031 kB / 252.8 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.03281, allocations: 184.8 kB / 252.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007509/0.03356, allocations: 0.524 MB / 253.5 MB, free: 5.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.03362, allocations: 82.59 kB / 253.6 MB, free: 5.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.03376, allocations: 116.3 kB / 253.7 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.03482, allocations: 0.9148 MB / 254.6 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.03485, allocations: 3.938 kB / 254.6 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.03493, allocations: 48 kB / 254.6 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.03495, allocations: 24 kB / 254.7 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.03848, allocations: 247.2 kB / 254.9 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006419/0.0449, allocations: 2.46 MB / 257.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.04526, allocations: 292.1 kB / 257.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.04548, allocations: 150.9 kB / 257.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.04551, allocations: 12.44 kB / 257.8 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.04553, allocations: 39.06 kB / 257.8 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.884e-06/0.04554, allocations: 0 / 257.8 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.001312/0.04685, allocations: 0.747 MB / 258.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.04688, allocations: 59.84 kB / 258.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.04733, allocations: 0.5116 MB / 259.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.04736, allocations: 33.7 kB / 259.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.0476, allocations: 485 kB / 259.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.04772, allocations: 186.4 kB / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.04786, allocations: 98.27 kB / 259.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.048, allocations: 382.6 kB / 260.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.514e-05/0.04809, allocations: 49.28 kB / 260.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.04827, allocations: 152.4 kB / 260.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.04856, allocations: 249.9 kB / 260.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.04856, allocations: 0 / 260.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000525/0.04908, allocations: 342.9 kB / 261.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.0491, allocations: 8 kB / 261.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.04911, allocations: 0 / 261.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.0493, allocations: 61.08 kB / 261.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.04979, allocations: 147.8 kB / 261.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.05087, allocations: 1.615 MB / 262.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.05101, allocations: 19.98 kB / 262.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.05103, allocations: 12.09 kB / 262.9 MB, free: 11.14 MB / 266.7 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.0001625/0.05119, allocations: 144.5 kB / 263.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.05126, allocations: 67.88 kB / 263.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.05133, allocations: 78.83 kB / 263.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.05134, allocations: 8.094 kB / 263.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.05134, allocations: 11.98 kB / 263.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.05135, allocations: 0 / 263.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.05266, allocations: 1.135 MB / 264.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.05266, allocations: 0 / 264.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.0529, allocations: 119.8 kB / 264.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.05297, allocations: 67.52 kB / 264.6 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.0531, allocations: 63.73 kB / 264.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.05312, allocations: 19.92 kB / 264.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009252/0.05405, allocations: 1.702 MB / 266.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.05405, allocations: 8.031 kB / 266.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.05448, allocations: 0.4919 MB / 266.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.05453, allocations: 12 kB / 266.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.05469, allocations: 35.98 kB / 266.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.05475, allocations: 44.36 kB / 266.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.05477, allocations: 12 kB / 267 MB, free: 6.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004614/0.05523, allocations: 252.6 kB / 267.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05523, allocations: 0 / 267.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.0556, allocations: 208 kB / 267.4 MB, free: 6.473 MB / 266.7 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.0001122/0.05571, allocations: 92.36 kB / 267.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.05613, allocations: 398.8 kB / 267.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.879e-05/0.05615, allocations: 12 kB / 267.9 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.0564, allocations: 303 kB / 268.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.05687, allocations: 227.9 kB / 268.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005814/0.06269, allocations: 2.026 MB / 270.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.06291, allocations: 317.5 kB / 270.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.06308, allocations: 81.7 kB / 270.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.06337, allocations: 209.2 kB / 271 MB, free: 2.723 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.06338, allocations: 3.938 kB / 271 MB, free: 2.719 MB / 266.7 MB Notification: Performance of Templates: time 0.01429/0.07767, allocations: 11.67 MB / 282.7 MB, free: 7.285 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.733503807336092]