Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001031/0.001031, allocations: 84.98 kB / 22.99 MB, free: 1.5 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.001232/0.001232, allocations: 171.6 kB / 26.39 MB, free: 7.977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9011/0.9011, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 252.2 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.824e-05, allocations: 6.25 kB / 252.2 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.00357/0.003588, allocations: 3.639 MB / 255.9 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.005337, allocations: 1.056 MB / 256.9 MB, free: 2.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.005641, allocations: 23.81 kB / 257 MB, free: 2.496 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.005936, allocations: 166.8 kB / 257.1 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000714/0.00665, allocations: 318 kB / 257.4 MB, free: 2.02 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.0069, allocations: 147.7 kB / 257.6 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.007953, allocations: 1.49 MB / 259.1 MB, free: 388 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005952/0.008548, allocations: 0.5994 MB / 259.7 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.009459, allocations: 0.9395 MB / 260.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.01035, allocations: 0.7912 MB / 261.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.01054, allocations: 160 kB / 261.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.0107, allocations: 156 kB / 261.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.01098, allocations: 486.6 kB / 262.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.0114, allocations: 0.5301 MB / 262.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009566/0.01236, allocations: 1.238 MB / 264 MB, free: 11.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01236, allocations: 4 kB / 264 MB, free: 11.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01236, allocations: 0 / 264 MB, free: 11.45 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.01239, allocations: 0 / 264 MB, free: 11.45 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001584/0.01397, allocations: 1.723 MB / 265.7 MB, free: 9.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.014, allocations: 15.98 kB / 265.7 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.0142, allocations: 236 kB / 265.9 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.01502, allocations: 0.6308 MB / 266.6 MB, free: 8.777 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.01507, allocations: 82.62 kB / 266.6 MB, free: 8.695 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.01517, allocations: 112.4 kB / 266.8 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.01601, allocations: 0.9697 MB / 267.7 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.01603, allocations: 3.938 kB / 267.7 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.01609, allocations: 44 kB / 267.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.0161, allocations: 28 kB / 267.8 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.0165, allocations: 299.2 kB / 268.1 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.0193, allocations: 3.152 MB / 271.2 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.01961, allocations: 333.7 kB / 271.6 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.01988, allocations: 226 kB / 271.8 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.0199, allocations: 16.48 kB / 271.8 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.01993, allocations: 41.89 kB / 271.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of pre-optimization done (n=51): time 1.694e-06/0.01993, allocations: 3.938 kB / 271.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004488/0.02038, allocations: 364.5 kB / 272.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.0204, allocations: 59.91 kB / 272.3 MB, free: 2.816 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.02084, allocations: 0.6593 MB / 272.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.02087, allocations: 37.7 kB / 273 MB, free: 2.098 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.02139, allocations: 0.6313 MB / 273.6 MB, free: 1.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.183e-05/0.02148, allocations: 194.4 kB / 273.8 MB, free: 1.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.02159, allocations: 119.9 kB / 273.9 MB, free: 1.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.02175, allocations: 0.5858 MB / 274.5 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.02183, allocations: 57.27 kB / 274.5 MB, free: 500 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.02196, allocations: 195.8 kB / 274.7 MB, free: 260 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.02222, allocations: 290.6 kB / 275 MB, free: 15.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.02222, allocations: 3.938 kB / 275 MB, free: 15.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000376/0.0226, allocations: 377 kB / 275.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.02261, allocations: 4 kB / 275.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.02262, allocations: 4 kB / 275.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.02263, allocations: 4 kB / 275.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.02294, allocations: 144.1 kB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.02294, allocations: 4 kB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.0231, allocations: 51.61 kB / 275.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.02312, allocations: 16 kB / 275.6 MB, free: 15.32 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.0001563/0.02328, allocations: 188.4 kB / 275.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.02336, allocations: 91.53 kB / 275.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.02344, allocations: 78.83 kB / 276 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.02344, allocations: 4 kB / 276 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.02344, allocations: 3.938 kB / 276 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.02345, allocations: 3.984 kB / 276 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.02467, allocations: 1.378 MB / 277.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.02468, allocations: 4 kB / 277.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.02492, allocations: 111.8 kB / 277.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.02492, allocations: 12.09 kB / 277.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.02495, allocations: 12 kB / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.02495, allocations: 4 kB / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.02495, allocations: 0 / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.02541, allocations: 0.5801 MB / 278.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.02548, allocations: 95.3 kB / 278.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.02553, allocations: 15.94 kB / 278.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.02571, allocations: 39.97 kB / 278.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.02576, allocations: 32.44 kB / 278.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.02578, allocations: 12 kB / 278.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.02601, allocations: 398.9 kB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02601, allocations: 0 / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.02638, allocations: 291.1 kB / 278.9 MB, free: 11.88 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.0001035/0.02649, allocations: 111.1 kB / 279 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.02676, allocations: 263.1 kB / 279.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02676, allocations: 4 kB / 279.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.02688, allocations: 139.4 kB / 279.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.02738, allocations: 175.6 kB / 279.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.02954, allocations: 1.943 MB / 281.6 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.02976, allocations: 362.7 kB / 281.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.02993, allocations: 89.64 kB / 282 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.03026, allocations: 254.1 kB / 282.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03026, allocations: 0 / 282.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of Templates: time 0.01278/0.04304, allocations: 10.55 MB / 292.8 MB, free: 13.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/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.872845691163093]