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.00145/0.00145, allocations: 88.59 kB / 20.95 MB, free: 328 kB / 14.72 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.001419/0.001419, allocations: 152.8 kB / 24.25 MB, free: 3.266 MB / 14.72 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.41/1.41, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] 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.2..i|transformerL.inductor.3..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.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.45e-05, allocations: 6.312 kB / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004927/0.004951, allocations: 3.459 MB / 270.8 MB, free: 6.711 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.006892, allocations: 0.923 MB / 271.7 MB, free: 5.785 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.007256, allocations: 31.81 kB / 271.7 MB, free: 5.754 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.007669, allocations: 154.8 kB / 271.9 MB, free: 5.602 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000923/0.008593, allocations: 302.1 kB / 272.2 MB, free: 5.305 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.008907, allocations: 135.8 kB / 272.3 MB, free: 5.172 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.01054, allocations: 1.435 MB / 273.7 MB, free: 3.73 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009482/0.01149, allocations: 0.6157 MB / 274.3 MB, free: 3.078 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.01274, allocations: 0.9239 MB / 275.3 MB, free: 2.152 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.0139, allocations: 0.7053 MB / 276 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.01417, allocations: 156 kB / 276.1 MB, free: 1.293 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.01447, allocations: 156 kB / 276.3 MB, free: 1.141 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.01493, allocations: 482.6 kB / 276.8 MB, free: 0.668 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007461/0.01567, allocations: 0.5106 MB / 277.3 MB, free: 160 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.01781, allocations: 2.065 MB / 279.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01781, allocations: 0 / 279.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.01781, allocations: 4 kB / 279.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.068e-05/0.01786, allocations: 0 / 279.3 MB, free: 14.08 MB / 270.1 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.003394/0.02126, allocations: 1.607 MB / 280.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.02129, allocations: 15.97 kB / 281 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.0217, allocations: 236 kB / 281.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.02319, allocations: 0.8467 MB / 282 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.786e-05/0.02326, allocations: 86.59 kB / 282.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.02346, allocations: 104.4 kB / 282.2 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.02625, allocations: 1.703 MB / 283.9 MB, free: 9.344 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.02627, allocations: 0 / 283.9 MB, free: 9.344 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.02639, allocations: 44 kB / 284 MB, free: 9.301 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.02642, allocations: 28 kB / 284 MB, free: 9.273 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.02871, allocations: 1.32 MB / 285.3 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006446/0.03515, allocations: 3.683 MB / 289 MB, free: 4.141 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.03621, allocations: 0.6142 MB / 289.6 MB, free: 3.523 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/0.03696, allocations: 438.6 kB / 290 MB, free: 3.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.037, allocations: 16.5 kB / 290.1 MB, free: 3.074 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.03704, allocations: 43 kB / 290.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.285e-06/0.03705, allocations: 0 / 290.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of matching and sorting (n=51): time 0.003447/0.04049, allocations: 1.892 MB / 292 MB, free: 1.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.04054, allocations: 55.91 kB / 292 MB, free: 1.023 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.04156, allocations: 0.793 MB / 292.8 MB, free: 224 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.04161, allocations: 33.7 kB / 292.9 MB, free: 184 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/0.04205, allocations: 0.5546 MB / 293.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.0422, allocations: 186.3 kB / 293.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.04238, allocations: 106.3 kB / 293.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.04259, allocations: 386.7 kB / 294.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.0431, allocations: 309.1 kB / 294.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.04371, allocations: 408.2 kB / 294.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.04478, allocations: 0.6943 MB / 295.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.04478, allocations: 0 / 295.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001536/0.04632, allocations: 0.9389 MB / 296.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.04633, allocations: 4 kB / 296.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.04634, allocations: 4 kB / 296.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.04665, allocations: 112.7 kB / 296.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.04722, allocations: 123.9 kB / 296.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.04972, allocations: 2.219 MB / 298.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.05006, allocations: 24.02 kB / 298.9 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.0501, allocations: 27.98 kB / 298.9 MB, free: 9.914 MB / 286.1 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.0006602/0.05076, allocations: 461.5 kB / 299.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.05092, allocations: 91.53 kB / 299.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.05112, allocations: 86.83 kB / 299.6 MB, free: 9.273 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.05113, allocations: 11.98 kB / 299.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.05114, allocations: 0 / 299.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.05114, allocations: 3.984 kB / 299.6 MB, free: 9.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.05417, allocations: 1.749 MB / 301.3 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.05418, allocations: 4 kB / 301.3 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.05457, allocations: 91.97 kB / 301.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/0.05483, allocations: 100.8 kB / 301.5 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.05486, allocations: 15.98 kB / 301.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.05724, allocations: 2.184 MB / 303.7 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.05725, allocations: 0 / 303.7 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.05929, allocations: 1.211 MB / 304.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.05946, allocations: 87.53 kB / 305 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.05955, allocations: 19.94 kB / 305 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.05994, allocations: 48.08 kB / 305.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.06005, allocations: 48.34 kB / 305.1 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.06009, allocations: 16 kB / 305.1 MB, free: 3.492 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007888/0.06088, allocations: 0.5654 MB / 305.7 MB, free: 2.93 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.06088, allocations: 0 / 305.7 MB, free: 2.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007757/0.06166, allocations: 208 kB / 305.9 MB, free: 2.727 MB / 286.1 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.0001698/0.06183, allocations: 115.2 kB / 306 MB, free: 2.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.06327, allocations: 0.7933 MB / 306.8 MB, free: 1.801 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.06327, allocations: 4.625 kB / 306.8 MB, free: 1.797 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.06409, allocations: 485 kB / 307.3 MB, free: 1.309 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/0.06496, allocations: 177.7 kB / 307.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1173/0.1822, allocations: 2.182 MB / 309.6 MB, free: 48.57 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.1836, allocations: 0.7458 MB / 310.4 MB, free: 48.45 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0007873/0.1844, allocations: 185.6 kB / 310.6 MB, free: 48.44 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.1846, allocations: 52.66 kB / 310.6 MB, free: 48.44 MB / 286.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1846, allocations: 1.188 kB / 310.6 MB, free: 48.44 MB / 286.1 MB Notification: Performance of Templates: time 0.02342/0.2081, allocations: 10.34 MB / 321 MB, free: 45.32 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.525377813726664]