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.001072/0.001072, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001254/0.001254, allocations: 140.3 kB / 24.97 MB, free: 8.359 MB / 18.57 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.017/1.017, allocations: 173.4 MB / 201.5 MB, free: 9.336 MB / 186.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.443e-06/1.443e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.844e-05, allocations: 6.25 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003719/0.003747, allocations: 3.735 MB / 271.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.005269, allocations: 0.9462 MB / 272.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.005514, allocations: 27.81 kB / 272.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.005799, allocations: 158.8 kB / 272.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006754/0.006474, allocations: 302.1 kB / 273.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.006695, allocations: 131.7 kB / 273.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.007755, allocations: 1.439 MB / 274.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005692/0.008324, allocations: 0.6156 MB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.008998, allocations: 0.9279 MB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007171/0.009715, allocations: 0.7717 MB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.009848, allocations: 156 kB / 277.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.009994, allocations: 156 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.01027, allocations: 486.6 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.01065, allocations: 0.5145 MB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008842/0.01153, allocations: 1.227 MB / 279.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.01154, allocations: 0 / 279.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01154, allocations: 0 / 279.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.01155, allocations: 0 / 279.6 MB, free: 11.1 MB / 266.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.001746/0.0133, allocations: 1.766 MB / 281.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.01334, allocations: 12.86 kB / 281.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.01357, allocations: 236 kB / 281.6 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.01447, allocations: 0.744 MB / 282.4 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.01452, allocations: 82.59 kB / 282.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.01463, allocations: 112.4 kB / 282.6 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.01579, allocations: 1.032 MB / 283.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.0158, allocations: 0 / 283.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.01588, allocations: 48 kB / 283.6 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.0159, allocations: 24 kB / 283.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.01659, allocations: 376.8 kB / 284 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.02, allocations: 3.378 MB / 287.4 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.02041, allocations: 349.3 kB / 287.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.0207, allocations: 197.7 kB / 287.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.02072, allocations: 12.5 kB / 288 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.02075, allocations: 41.83 kB / 288 MB, free: 2.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.156e-06/0.02075, allocations: 0 / 288 MB, free: 2.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001616/0.02237, allocations: 1.033 MB / 289 MB, free: 1.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.0224, allocations: 59.91 kB / 289.1 MB, free: 1.242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.02295, allocations: 0.6753 MB / 289.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.02297, allocations: 37.7 kB / 289.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1014/0.1243, allocations: 0.6192 MB / 290.4 MB, free: 31.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.1245, allocations: 189.6 kB / 290.6 MB, free: 31.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.1246, allocations: 112.7 kB / 290.7 MB, free: 31.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1248, allocations: 0.586 MB / 291.3 MB, free: 31.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.125, allocations: 74.58 kB / 291.4 MB, free: 31.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1252, allocations: 216.6 kB / 291.6 MB, free: 31.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.1255, allocations: 325.7 kB / 291.9 MB, free: 31.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1255, allocations: 1.406 kB / 291.9 MB, free: 31.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007123/0.1263, allocations: 473 kB / 292.4 MB, free: 31.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1263, allocations: 9.75 kB / 292.4 MB, free: 31.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1263, allocations: 2.25 kB / 292.4 MB, free: 31.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.1265, allocations: 78.98 kB / 292.5 MB, free: 31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1269, allocations: 121.3 kB / 292.6 MB, free: 31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.128, allocations: 2.334 MB / 294.9 MB, free: 29.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.1283, allocations: 26.31 kB / 294.9 MB, free: 29.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.1283, allocations: 19.27 kB / 295 MB, free: 29.02 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.0002229/0.1285, allocations: 184.3 kB / 295.1 MB, free: 28.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.1286, allocations: 95.03 kB / 295.2 MB, free: 28.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.1287, allocations: 82.17 kB / 295.3 MB, free: 28.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1287, allocations: 7.047 kB / 295.3 MB, free: 28.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1287, allocations: 4.5 kB / 295.3 MB, free: 28.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1287, allocations: 7.266 kB / 295.3 MB, free: 28.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.1304, allocations: 1.458 MB / 296.8 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1304, allocations: 1.062 kB / 296.8 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.1306, allocations: 86.48 kB / 296.9 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.1307, allocations: 75.31 kB / 296.9 MB, free: 28.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.1308, allocations: 15.05 kB / 297 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000915/0.1317, allocations: 2.317 MB / 299.3 MB, free: 26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1317, allocations: 5.953 kB / 299.3 MB, free: 26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.1323, allocations: 0.6741 MB / 300 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.1324, allocations: 85.12 kB / 300 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.1324, allocations: 9.656 kB / 300.1 MB, free: 25.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.1326, allocations: 49.98 kB / 300.1 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.1327, allocations: 55.95 kB / 300.2 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1328, allocations: 16.77 kB / 300.2 MB, free: 25.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.1331, allocations: 431.9 kB / 300.6 MB, free: 25.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1331, allocations: 0 / 300.6 MB, free: 25.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000535/0.1336, allocations: 209.4 kB / 300.8 MB, free: 25.29 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.0001077/0.1338, allocations: 112.1 kB / 300.9 MB, free: 25.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.1344, allocations: 0.5057 MB / 301.4 MB, free: 24.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1344, allocations: 0 / 301.4 MB, free: 24.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.1347, allocations: 382.5 kB / 301.8 MB, free: 24.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.1352, allocations: 165.4 kB / 301.9 MB, free: 24.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1374, allocations: 1.891 MB / 303.8 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1377, allocations: 361.9 kB / 304.2 MB, free: 23.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.1379, allocations: 141.2 kB / 304.3 MB, free: 23.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.138, allocations: 53.69 kB / 304.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1381, allocations: 1.156 kB / 304.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of Templates: time 0.01221/0.1503, allocations: 10.35 MB / 314.7 MB, free: 16.41 MB / 266.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 -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: 3.0196527678053826]