Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.0008657/0.0008657, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001032/0.001032, allocations: 160.4 kB / 25.45 MB, free: 9.352 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.8347/0.8347, allocations: 158.6 MB / 187.2 MB, free: 3.055 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.04e-05, allocations: 2.281 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.002982/0.003003, allocations: 3.405 MB / 303.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004464, allocations: 0.9667 MB / 304.1 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.004698, allocations: 27.75 kB / 304.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.004947, allocations: 154.8 kB / 304.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.005571, allocations: 302 kB / 304.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.005804, allocations: 143.7 kB / 304.7 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008585/0.006663, allocations: 1.455 MB / 306.1 MB, free: 452 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004981/0.007161, allocations: 0.5795 MB / 306.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.007792, allocations: 0.9122 MB / 307.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/0.008443, allocations: 0.7054 MB / 308.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.008564, allocations: 156 kB / 308.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.008696, allocations: 156 kB / 308.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.008947, allocations: 482.6 kB / 309.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.009392, allocations: 0.5144 MB / 309.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.01058, allocations: 2.061 MB / 311.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01058, allocations: 0 / 311.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01058, allocations: 0 / 311.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.0106, allocations: 0 / 311.7 MB, free: 10.84 MB / 298.7 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.001706/0.0123, allocations: 1.615 MB / 313.3 MB, free: 9.191 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.01234, allocations: 15.98 kB / 313.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.0125, allocations: 148 kB / 313.5 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007874/0.01328, allocations: 0.7649 MB / 314.2 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.01333, allocations: 82.59 kB / 314.3 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.01344, allocations: 108.4 kB / 314.4 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.01497, allocations: 1.691 MB / 316.1 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.01499, allocations: 0 / 316.1 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.01506, allocations: 51.94 kB / 316.1 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.01507, allocations: 24 kB / 316.2 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.01639, allocations: 1.312 MB / 317.5 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.01985, allocations: 3.632 MB / 321.1 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.02042, allocations: 0.6091 MB / 321.7 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.02084, allocations: 426.7 kB / 322.1 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.02086, allocations: 4.5 kB / 322.1 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.02089, allocations: 43 kB / 322.2 MB, free: 52 kB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.793e-06/0.02089, allocations: 4 kB / 322.2 MB, free: 48 kB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001986/0.02288, allocations: 1.881 MB / 324.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.02291, allocations: 59.91 kB / 324.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.02353, allocations: 0.7968 MB / 324.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.02356, allocations: 33.7 kB / 325 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.02382, allocations: 0.5545 MB / 325.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.02391, allocations: 178.5 kB / 325.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.02401, allocations: 106.3 kB / 325.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.02413, allocations: 386.7 kB / 326.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.02441, allocations: 305.1 kB / 326.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.02474, allocations: 404.2 kB / 326.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.02533, allocations: 0.6943 MB / 327.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02534, allocations: 0 / 327.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008396/0.02618, allocations: 0.9153 MB / 328.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.02619, allocations: 4 kB / 328.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.0262, allocations: 4 kB / 328.5 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/0.0264, allocations: 113 kB / 328.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.02666, allocations: 123.8 kB / 328.7 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.02811, allocations: 2.223 MB / 330.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.02827, allocations: 32.03 kB / 331 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.0283, allocations: 20 kB / 331 MB, free: 6.977 MB / 314.7 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.0003748/0.02867, allocations: 461.4 kB / 331.4 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.02874, allocations: 71.58 kB / 331.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.02881, allocations: 90.83 kB / 331.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02882, allocations: 7.938 kB / 331.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.02882, allocations: 0 / 331.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02883, allocations: 3.984 kB / 331.6 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.0305, allocations: 1.737 MB / 333.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0305, allocations: 4 kB / 333.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.03068, allocations: 99.75 kB / 333.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/0.03082, allocations: 100.8 kB / 333.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.03084, allocations: 15.98 kB / 333.6 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.03222, allocations: 2.172 MB / 335.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.03222, allocations: 160 / 335.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009957/0.03321, allocations: 1.203 MB / 336.9 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.0333, allocations: 91.53 kB / 337 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.03335, allocations: 11.94 kB / 337 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.03353, allocations: 52.02 kB / 337.1 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.03361, allocations: 44.42 kB / 337.1 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.03363, allocations: 15.98 kB / 337.1 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004388/0.03406, allocations: 0.5654 MB / 337.7 MB, free: 44 kB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03406, allocations: 0 / 337.7 MB, free: 44 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004599/0.03452, allocations: 212.1 kB / 337.9 MB, free: 15.83 MB / 330.7 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.000121/0.03464, allocations: 115.1 kB / 338 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.03547, allocations: 0.8012 MB / 338.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.03547, allocations: 0 / 338.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.0359, allocations: 486.1 kB / 339.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.0364, allocations: 170.3 kB / 339.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.03847, allocations: 2.176 MB / 341.6 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.03891, allocations: 0.7173 MB / 342.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.03903, allocations: 56.48 kB / 342.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.03903, allocations: 0 / 342.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of Templates: time 0.1295/0.1685, allocations: 19.14 MB / 361.6 MB, free: 59.42 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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: 5.032406237907708]