Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9772/0.9772, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.245e-05, allocations: 2.312 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004107/0.00413, allocations: 3.731 MB / 277.8 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.006194, allocations: 1.067 MB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.006532, allocations: 31.81 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.006826, allocations: 154.8 kB / 279.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008778/0.007703, allocations: 337.8 kB / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.007988, allocations: 131.8 kB / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.009251, allocations: 1.474 MB / 281 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.01002, allocations: 0.6434 MB / 281.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.01121, allocations: 0.9746 MB / 282.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.01229, allocations: 0.7834 MB / 283.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.01256, allocations: 160 kB / 283.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.01283, allocations: 168 kB / 283.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.0132, allocations: 0.4908 MB / 284.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.01368, allocations: 0.5262 MB / 284.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009536/0.01464, allocations: 1.25 MB / 286 MB, free: 8.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01464, allocations: 3.938 kB / 286 MB, free: 8.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01464, allocations: 0 / 286 MB, free: 8.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.01466, allocations: 8 kB / 286 MB, free: 8.324 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.001781/0.01644, allocations: 1.75 MB / 287.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.01648, allocations: 8.031 kB / 287.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.01685, allocations: 263.9 kB / 288 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.01757, allocations: 0.7205 MB / 288.8 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.01762, allocations: 90.55 kB / 288.8 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.01774, allocations: 112.4 kB / 288.9 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.01869, allocations: 0.9778 MB / 289.9 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.01871, allocations: 0 / 289.9 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.01877, allocations: 48 kB / 290 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.01882, allocations: 38.25 kB / 290 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.01925, allocations: 299.4 kB / 290.3 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.02245, allocations: 3.176 MB / 293.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.02279, allocations: 339.4 kB / 293.8 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.0231, allocations: 235.9 kB / 294 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.02313, allocations: 12.5 kB / 294.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.02315, allocations: 41.89 kB / 294.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 1.823e-06/0.02315, allocations: 0 / 294.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004505/0.0236, allocations: 364.5 kB / 294.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.02363, allocations: 59.91 kB / 294.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.02411, allocations: 0.671 MB / 295.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.02414, allocations: 33.7 kB / 295.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.02444, allocations: 0.6352 MB / 295.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.02455, allocations: 194.4 kB / 296 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.02466, allocations: 115.9 kB / 296.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.02485, allocations: 0.5936 MB / 296.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.02493, allocations: 57.2 kB / 296.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.02508, allocations: 195.8 kB / 297 MB, free: 12.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.02533, allocations: 286.6 kB / 297.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02533, allocations: 0 / 297.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003923/0.02572, allocations: 385 kB / 297.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.02574, allocations: 4 kB / 297.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.02575, allocations: 4 kB / 297.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.02576, allocations: 7.984 kB / 297.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.02606, allocations: 135.8 kB / 297.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.02607, allocations: 7.984 kB / 297.8 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.02622, allocations: 43.67 kB / 297.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.02624, allocations: 20.19 kB / 297.9 MB, free: 12 MB / 282.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.0001652/0.02641, allocations: 196.3 kB / 298.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/0.0265, allocations: 91.53 kB / 298.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.02658, allocations: 79.08 kB / 298.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.02658, allocations: 8 kB / 298.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.02659, allocations: 7.922 kB / 298.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.02659, allocations: 0 / 298.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.02792, allocations: 1.39 MB / 299.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02792, allocations: 4 kB / 299.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.02818, allocations: 111.8 kB / 299.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.02818, allocations: 4 kB / 299.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.02821, allocations: 12 kB / 299.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.02821, allocations: 7.984 kB / 299.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.02821, allocations: 8.156 kB / 299.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.02871, allocations: 0.5917 MB / 300.4 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.02879, allocations: 83.39 kB / 300.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.02884, allocations: 15.98 kB / 300.5 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.02901, allocations: 31.98 kB / 300.5 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.02907, allocations: 32.44 kB / 300.5 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.02909, allocations: 16 kB / 300.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.02936, allocations: 406.9 kB / 300.9 MB, free: 8.812 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02936, allocations: 0 / 300.9 MB, free: 8.812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.02982, allocations: 287.1 kB / 301.2 MB, free: 8.531 MB / 282.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.0001277/0.02995, allocations: 119.1 kB / 301.3 MB, free: 8.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.03026, allocations: 255.5 kB / 301.6 MB, free: 8.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03026, allocations: 8.062 kB / 301.6 MB, free: 8.145 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.03039, allocations: 139.4 kB / 301.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.03091, allocations: 173.4 kB / 301.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.03339, allocations: 1.955 MB / 303.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.03362, allocations: 366.7 kB / 304.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.03382, allocations: 85.69 kB / 304.3 MB, free: 5.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.03414, allocations: 254.1 kB / 304.5 MB, free: 5.105 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.03414, allocations: 0 / 304.5 MB, free: 5.105 MB / 282.7 MB Notification: Performance of Templates: time 0.01408/0.04822, allocations: 10.63 MB / 315.2 MB, free: 10.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.849681045860052]