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.001446/0.001446, allocations: 92.33 kB / 21.73 MB, free: 2.676 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.001473/0.001473, allocations: 163.3 kB / 25.02 MB, free: 9.434 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 1.441/1.441, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.1..i|transformerL.inductor.2..i|transformerL.inductor.3..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.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.19e-06, allocations: 4 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.801e-05, allocations: 9.406 kB / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006524/0.006562, allocations: 3.419 MB / 253.8 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.009371, allocations: 1.033 MB / 254.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.01002, allocations: 23.81 kB / 254.8 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.01063, allocations: 162.8 kB / 255 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.01202, allocations: 310 kB / 255.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.01242, allocations: 143.7 kB / 255.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.0143, allocations: 1.501 MB / 256.9 MB, free: 13.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009405/0.01524, allocations: 0.5877 MB / 257.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.01659, allocations: 0.9356 MB / 258.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.01817, allocations: 0.7171 MB / 259.2 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.01841, allocations: 164 kB / 259.3 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.01869, allocations: 160 kB / 259.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005295/0.01922, allocations: 486.6 kB / 260 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007208/0.01994, allocations: 0.5145 MB / 260.5 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.0224, allocations: 2.111 MB / 262.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.0224, allocations: 0 / 262.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02241, allocations: 0 / 262.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.02243, allocations: 0 / 262.6 MB, free: 7.625 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.003221/0.02565, allocations: 1.619 MB / 264.2 MB, free: 5.969 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.02569, allocations: 11.98 kB / 264.2 MB, free: 5.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004185/0.02611, allocations: 244 kB / 264.5 MB, free: 5.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.02759, allocations: 0.7961 MB / 265.3 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.02769, allocations: 82.62 kB / 265.3 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.0279, allocations: 120.4 kB / 265.5 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.03117, allocations: 1.719 MB / 267.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.03119, allocations: 0 / 267.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.03132, allocations: 44 kB / 267.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.03135, allocations: 31.94 kB / 267.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.03378, allocations: 1.336 MB / 268.6 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007218/0.041, allocations: 3.78 MB / 272.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.04237, allocations: 0.6189 MB / 273 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009991/0.04337, allocations: 497.1 kB / 273.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.0434, allocations: 12.5 kB / 273.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.04345, allocations: 39.05 kB / 273.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.013e-06/0.04345, allocations: 4 kB / 273.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001759/0.04521, allocations: 0.883 MB / 274.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.04526, allocations: 63.91 kB / 274.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.04704, allocations: 0.8046 MB / 275.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.04711, allocations: 33.7 kB / 275.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007834/0.0479, allocations: 0.5507 MB / 275.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.04818, allocations: 186.4 kB / 276 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.04849, allocations: 106.3 kB / 276.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003594/0.04885, allocations: 386.7 kB / 276.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/0.04969, allocations: 297.1 kB / 276.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009823/0.05068, allocations: 399.3 kB / 277.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.05249, allocations: 0.6934 MB / 277.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.0525, allocations: 4 kB / 277.9 MB, free: 7.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002297/0.05479, allocations: 0.8404 MB / 278.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.05482, allocations: 8 kB / 278.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.05483, allocations: 0 / 278.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.05487, allocations: 7.938 kB / 278.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009952/0.05586, allocations: 152.1 kB / 278.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/0.05589, allocations: 15.92 kB / 278.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.05651, allocations: 59.64 kB / 279 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.05657, allocations: 19.98 kB / 279 MB, free: 6.801 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.001051/0.05762, allocations: 461.4 kB / 279.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.05788, allocations: 99.45 kB / 279.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.05814, allocations: 90.83 kB / 279.6 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.05815, allocations: 4 kB / 279.6 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.05816, allocations: 4 kB / 279.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.05817, allocations: 0 / 279.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/0.06309, allocations: 1.678 MB / 281.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.0631, allocations: 12.03 kB / 281.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008589/0.06396, allocations: 119.9 kB / 281.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.06396, allocations: 0 / 281.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.06403, allocations: 16 kB / 281.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.06403, allocations: 0 / 281.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.06404, allocations: 4 kB / 281.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.06684, allocations: 1.144 MB / 282.6 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.06712, allocations: 91.44 kB / 282.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.06726, allocations: 15.98 kB / 282.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/0.06794, allocations: 47.95 kB / 282.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.06811, allocations: 40.42 kB / 282.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.06817, allocations: 16 kB / 282.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001273/0.06945, allocations: 0.5732 MB / 283.4 MB, free: 2.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.06945, allocations: 0 / 283.4 MB, free: 2.309 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001227/0.07067, allocations: 295 kB / 283.7 MB, free: 2.02 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.000224/0.0709, allocations: 111.2 kB / 283.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.07266, allocations: 0.6272 MB / 284.4 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.07267, allocations: 8.188 kB / 284.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008288/0.0735, allocations: 310.5 kB / 284.7 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.07494, allocations: 179.1 kB / 284.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/0.08094, allocations: 2.248 MB / 287.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.08247, allocations: 0.7485 MB / 287.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000867/0.08334, allocations: 201.5 kB / 288.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.0836, allocations: 56.48 kB / 288.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.483e-06/0.08361, allocations: 0 / 288.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of Templates: time 0.02081/0.1044, allocations: 9.728 MB / 297.9 MB, free: 3.758 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.765564591041766]