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.0008615/0.0008615, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001529/0.001529, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.065/1.065, allocations: 177 MB / 205.1 MB, free: 5.484 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.342e-06/1.342e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.288e-05, allocations: 6.312 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004322/0.004345, allocations: 3.722 MB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.007124, allocations: 1.079 MB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.007427, allocations: 31.75 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.007766, allocations: 154.8 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008543/0.00862, allocations: 333.9 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.008898, allocations: 135.8 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.01029, allocations: 1.474 MB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/0.01118, allocations: 0.6512 MB / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.01249, allocations: 0.9629 MB / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.01355, allocations: 0.7951 MB / 282.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.0138, allocations: 160 kB / 282.8 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.01409, allocations: 172 kB / 283 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.01602, allocations: 494.6 kB / 283.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006956/0.01671, allocations: 0.5262 MB / 284 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.01808, allocations: 1.254 MB / 285.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.01808, allocations: 0 / 285.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01808, allocations: 0 / 285.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.0181, allocations: 0 / 285.2 MB, free: 5.254 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.002537/0.02064, allocations: 1.754 MB / 287 MB, free: 3.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.02068, allocations: 19.92 kB / 287 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004888/0.02117, allocations: 264 kB / 287.3 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.02218, allocations: 0.7127 MB / 288 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.02225, allocations: 86.62 kB / 288.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.02242, allocations: 108.4 kB / 288.2 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.02383, allocations: 0.9778 MB / 289.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.02385, allocations: 4 kB / 289.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.02395, allocations: 48 kB / 289.2 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-05/0.02401, allocations: 42.25 kB / 289.2 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007174/0.02473, allocations: 299.4 kB / 289.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/0.1547, allocations: 3.164 MB / 292.7 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.1551, allocations: 337.2 kB / 293 MB, free: 24.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.1555, allocations: 238 kB / 293.2 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1555, allocations: 10.27 kB / 293.3 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1555, allocations: 41.98 kB / 293.3 MB, free: 24.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 3.256e-06/0.1555, allocations: 0.5469 kB / 293.3 MB, free: 24.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0005195/0.156, allocations: 361.9 kB / 293.7 MB, free: 23.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.1561, allocations: 57.31 kB / 293.7 MB, free: 23.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.1567, allocations: 0.6706 MB / 294.4 MB, free: 23.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1567, allocations: 35.38 kB / 294.4 MB, free: 23.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.157, allocations: 0.6348 MB / 295.1 MB, free: 23.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1571, allocations: 199.2 kB / 295.2 MB, free: 23.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.1572, allocations: 118 kB / 295.4 MB, free: 23.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1574, allocations: 0.5947 MB / 296 MB, free: 22.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1575, allocations: 56.97 kB / 296 MB, free: 22.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1576, allocations: 193.7 kB / 296.2 MB, free: 22.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1579, allocations: 284.9 kB / 296.5 MB, free: 22.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1579, allocations: 5.922 kB / 296.5 MB, free: 22.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004628/0.1584, allocations: 381.9 kB / 296.9 MB, free: 22.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1584, allocations: 6.312 kB / 296.9 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.1584, allocations: 3.016 kB / 296.9 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1584, allocations: 4.031 kB / 296.9 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.1587, allocations: 138.7 kB / 297 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1588, allocations: 9.719 kB / 297 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.1589, allocations: 48.45 kB / 297.1 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.159, allocations: 15.41 kB / 297.1 MB, free: 22.46 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.0001657/0.1591, allocations: 191.6 kB / 297.3 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.1592, allocations: 92.53 kB / 297.4 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.1593, allocations: 79.28 kB / 297.4 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1593, allocations: 4.969 kB / 297.4 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1593, allocations: 0.75 kB / 297.4 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.1593, allocations: 6.875 kB / 297.4 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.1609, allocations: 1.392 MB / 298.8 MB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1609, allocations: 5.531 kB / 298.8 MB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.1612, allocations: 110.6 kB / 298.9 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1612, allocations: 3.594 kB / 299 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1612, allocations: 17.64 kB / 299 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.1612, allocations: 3.906 kB / 299 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1612, allocations: 3.109 kB / 299 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.1617, allocations: 0.5906 MB / 299.6 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.1618, allocations: 85.34 kB / 299.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.1619, allocations: 13.97 kB / 299.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.162, allocations: 33.06 kB / 299.7 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.1621, allocations: 41.78 kB / 299.7 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1621, allocations: 13.09 kB / 299.8 MB, free: 21.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003014/0.1624, allocations: 403.2 kB / 300.1 MB, free: 21.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1624, allocations: 0 / 300.1 MB, free: 21.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005731/0.163, allocations: 298.9 kB / 300.4 MB, free: 20.96 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.0001261/0.1631, allocations: 113.6 kB / 300.5 MB, free: 20.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.1634, allocations: 257.2 kB / 300.8 MB, free: 20.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1634, allocations: 1.219 kB / 300.8 MB, free: 20.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1636, allocations: 142.7 kB / 300.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.1641, allocations: 168.4 kB / 301.1 MB, free: 20.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.1665, allocations: 1.955 MB / 303.1 MB, free: 19.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.1668, allocations: 367.5 kB / 303.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.1671, allocations: 87.94 kB / 303.5 MB, free: 19.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.1674, allocations: 255.4 kB / 303.8 MB, free: 19.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1674, allocations: 0 / 303.8 MB, free: 19.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01231/0.1797, allocations: 10.44 MB / 314.2 MB, free: 11.63 MB / 266.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.8129055071622133]