Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 81.86 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 171.2 kB / 24.82 MB, free: 8.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9729/0.9729, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.065e-05, allocations: 2.312 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003325/0.003346, allocations: 3.708 MB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004738, allocations: 1.075 MB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.004927, allocations: 31.75 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.005165, allocations: 162.8 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005652/0.00573, allocations: 317.9 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.005906, allocations: 139.8 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008591/0.006765, allocations: 1.459 MB / 280.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005146/0.00728, allocations: 0.6435 MB / 280.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.007923, allocations: 0.9628 MB / 281.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006259/0.008549, allocations: 0.7873 MB / 282.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.008682, allocations: 156 kB / 282.8 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.008864, allocations: 164 kB / 283 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.009117, allocations: 498.6 kB / 283.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.009466, allocations: 0.5262 MB / 284 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008349/0.0103, allocations: 1.254 MB / 285.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.0103, allocations: 0 / 285.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0103, allocations: 0 / 285.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.01032, allocations: 0 / 285.2 MB, free: 5.398 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001547/0.01186, allocations: 1.742 MB / 287 MB, free: 3.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.0119, allocations: 8.031 kB / 287 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.01222, allocations: 260 kB / 287.2 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.01287, allocations: 0.7205 MB / 288 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.01292, allocations: 90.61 kB / 288 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.01302, allocations: 112.4 kB / 288.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.01388, allocations: 0.9697 MB / 289.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.01389, allocations: 0 / 289.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.01395, allocations: 48 kB / 289.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.01397, allocations: 24 kB / 289.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.01436, allocations: 295.2 kB / 289.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1056/0.12, allocations: 3.149 MB / 292.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.1205, allocations: 342.2 kB / 293 MB, free: 24.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.1209, allocations: 235.3 kB / 293.2 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.121, allocations: 14.8 kB / 293.2 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.121, allocations: 41.36 kB / 293.2 MB, free: 24.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 3.156e-06/0.121, allocations: 0 / 293.2 MB, free: 24.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0006606/0.1216, allocations: 358.3 kB / 293.6 MB, free: 23.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.1217, allocations: 61.78 kB / 293.7 MB, free: 23.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.1224, allocations: 0.6754 MB / 294.3 MB, free: 23.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.1224, allocations: 34.8 kB / 294.4 MB, free: 23.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.1228, allocations: 0.6324 MB / 295 MB, free: 23.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.1229, allocations: 198.6 kB / 295.2 MB, free: 23.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.1231, allocations: 113.2 kB / 295.3 MB, free: 23.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.1233, allocations: 0.5893 MB / 295.9 MB, free: 22.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1234, allocations: 58.58 kB / 295.9 MB, free: 22.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1236, allocations: 191.5 kB / 296.1 MB, free: 22.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.124, allocations: 287.2 kB / 296.4 MB, free: 22.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.124, allocations: 1.312 kB / 296.4 MB, free: 22.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000598/0.1246, allocations: 380.1 kB / 296.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1246, allocations: 6.281 kB / 296.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1246, allocations: 2.969 kB / 296.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1246, allocations: 6.906 kB / 296.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.1251, allocations: 139.6 kB / 296.9 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1251, allocations: 12.23 kB / 297 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.1254, allocations: 53.42 kB / 297 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.1254, allocations: 13.27 kB / 297 MB, free: 22.43 MB / 266.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.1256, allocations: 184.7 kB / 297.2 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1257, allocations: 89.81 kB / 297.3 MB, free: 22.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.1258, allocations: 82.02 kB / 297.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.1258, allocations: 8.688 kB / 297.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.1259, allocations: 5.75 kB / 297.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.1259, allocations: 2.344 kB / 297.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.128, allocations: 1.387 MB / 298.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.128, allocations: 3.906 kB / 298.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.1284, allocations: 119.4 kB / 298.9 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1284, allocations: 2.969 kB / 298.9 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.1285, allocations: 14.2 kB / 298.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1285, allocations: 2.562 kB / 298.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1285, allocations: 6.172 kB / 298.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.1292, allocations: 0.5891 MB / 299.5 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1293, allocations: 84.44 kB / 299.6 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.1294, allocations: 14.64 kB / 299.6 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.1297, allocations: 37.36 kB / 299.6 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.1298, allocations: 41.28 kB / 299.7 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.1298, allocations: 12.33 kB / 299.7 MB, free: 21.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004353/0.1303, allocations: 406.2 kB / 300.1 MB, free: 21.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1303, allocations: 0 / 300.1 MB, free: 21.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007671/0.131, allocations: 286.9 kB / 300.4 MB, free: 21.05 MB / 266.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.1312, allocations: 118.8 kB / 300.5 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.1316, allocations: 253.7 kB / 300.7 MB, free: 20.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1316, allocations: 1 kB / 300.7 MB, free: 20.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.1318, allocations: 141.3 kB / 300.9 MB, free: 20.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.1326, allocations: 173.7 kB / 301 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.1355, allocations: 1.944 MB / 303 MB, free: 19.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1358, allocations: 366.5 kB / 303.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.1361, allocations: 87.58 kB / 303.4 MB, free: 19.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.1364, allocations: 256.3 kB / 303.7 MB, free: 19.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1364, allocations: 0 / 303.7 MB, free: 19.57 MB / 266.7 MB Notification: Performance of Templates: time 0.01241/0.1488, allocations: 10.43 MB / 314.1 MB, free: 11.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.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.7898585591465235]