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.001043/0.001043, allocations: 84.3 kB / 22.21 MB, free: 2.285 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.001103/0.001103, allocations: 167.6 kB / 25.6 MB, free: 8.484 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.9285/0.9285, allocations: 158.6 MB / 187.5 MB, free: 2.812 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 6.001e-06/6.001e-06, allocations: 4 kB / 251.5 MB, free: 7.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/2.051e-05, allocations: 2.312 kB / 251.5 MB, free: 7.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003444/0.003464, allocations: 3.643 MB / 255.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.004781, allocations: 1.056 MB / 256.2 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.004959, allocations: 23.81 kB / 256.2 MB, free: 2.602 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.005204, allocations: 158.8 kB / 256.3 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.005784, allocations: 318 kB / 256.6 MB, free: 2.133 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.005986, allocations: 143.7 kB / 256.8 MB, free: 1.992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009083/0.006894, allocations: 1.494 MB / 258.3 MB, free: 500 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005063/0.0074, allocations: 0.5956 MB / 258.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008179/0.008218, allocations: 0.9511 MB / 259.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007729/0.008991, allocations: 0.7795 MB / 260.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.009129, allocations: 156 kB / 260.8 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.00929, allocations: 160 kB / 260.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.009545, allocations: 490.6 kB / 261.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005746/0.01012, allocations: 0.5262 MB / 261.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.01087, allocations: 1.242 MB / 263.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.01088, allocations: 4 kB / 263.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.01088, allocations: 0 / 263.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.01088, allocations: 0 / 263.2 MB, free: 11.56 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.001455/0.01234, allocations: 1.715 MB / 264.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01237, allocations: 23.97 kB / 264.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.01256, allocations: 236 kB / 265.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.01311, allocations: 0.6347 MB / 265.8 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.01315, allocations: 86.62 kB / 265.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.877e-05/0.01325, allocations: 112.4 kB / 266 MB, free: 8.688 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.01409, allocations: 0.9736 MB / 266.9 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.01411, allocations: 0 / 266.9 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.01416, allocations: 48 kB / 267 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.01418, allocations: 28 kB / 267 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.01457, allocations: 299.2 kB / 267.3 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.01761, allocations: 3.144 MB / 270.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.01791, allocations: 341.9 kB / 270.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.01817, allocations: 233.9 kB / 271 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.01819, allocations: 8.5 kB / 271 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.01822, allocations: 41.89 kB / 271.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of pre-optimization done (n=51): time 1.472e-06/0.01822, allocations: 0 / 271.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004052/0.01862, allocations: 360.5 kB / 271.4 MB, free: 2.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.01864, allocations: 59.91 kB / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.01906, allocations: 0.6593 MB / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.01909, allocations: 37.7 kB / 272.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.01936, allocations: 0.6313 MB / 272.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.01945, allocations: 202.4 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.01956, allocations: 115.9 kB / 273.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.01972, allocations: 0.5858 MB / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.0198, allocations: 53.27 kB / 273.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.01993, allocations: 195.8 kB / 273.9 MB, free: 368 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.02017, allocations: 282.7 kB / 274.2 MB, free: 40 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02017, allocations: 3.938 kB / 274.2 MB, free: 36 kB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003681/0.02054, allocations: 381 kB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.02055, allocations: 4 kB / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.02056, allocations: 4.281 kB / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.02057, allocations: 11.94 kB / 274.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.02086, allocations: 139.9 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.02086, allocations: 7.938 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.021, allocations: 51.61 kB / 274.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.02102, allocations: 16 kB / 274.8 MB, free: 15.43 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.0001467/0.02117, allocations: 188.4 kB / 275 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.02125, allocations: 95.53 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/0.02132, allocations: 78.83 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.02133, allocations: 8 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.02133, allocations: 0 / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.02133, allocations: 3.984 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.0228, allocations: 1.363 MB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.0228, allocations: 3.938 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.02303, allocations: 116 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.02304, allocations: 7.938 kB / 276.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.02306, allocations: 12 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.02306, allocations: 4 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02306, allocations: 3.938 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.02351, allocations: 0.5879 MB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.02359, allocations: 91.31 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.02363, allocations: 12 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.0238, allocations: 40.02 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.02385, allocations: 36.42 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.02387, allocations: 12 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002244/0.02409, allocations: 402.9 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02409, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.02445, allocations: 295 kB / 278.1 MB, free: 11.98 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 9.15e-05/0.02455, allocations: 111.2 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.02481, allocations: 251.2 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.02481, allocations: 0 / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.02493, allocations: 147.3 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.02539, allocations: 179.5 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.02729, allocations: 1.955 MB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.02751, allocations: 362.7 kB / 281.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.02768, allocations: 81.66 kB / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.02799, allocations: 254.1 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02799, allocations: 0 / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of Templates: time 0.01272/0.04071, allocations: 10.35 MB / 291.8 MB, free: 14.27 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.815569816622883]