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.001875/0.001875, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.001998/0.001998, allocations: 167.2 kB / 25.03 MB, free: 8.406 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.335/1.335, allocations: 158.6 MB / 186.8 MB, free: 2.902 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 1.694e-06/1.694e-06, allocations: 3.938 kB / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.161e-05, allocations: 2.312 kB / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006247/0.006279, allocations: 3.666 MB / 254 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.008941, allocations: 1.052 MB / 255.1 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.009213, allocations: 23.81 kB / 255.1 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.009627, allocations: 162.8 kB / 255.3 MB, free: 2.918 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.01064, allocations: 314 kB / 255.6 MB, free: 2.609 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.01101, allocations: 135.8 kB / 255.7 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.01289, allocations: 1.501 MB / 257.2 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009258/0.01382, allocations: 0.5954 MB / 257.8 MB, free: 344 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.01554, allocations: 0.9475 MB / 258.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.01694, allocations: 0.7756 MB / 259.5 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002743/0.01721, allocations: 160 kB / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.01753, allocations: 156 kB / 259.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005534/0.01809, allocations: 490.6 kB / 260.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008232/0.01891, allocations: 0.5223 MB / 260.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.0215, allocations: 2.119 MB / 262.9 MB, free: 11.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.02151, allocations: 0 / 262.9 MB, free: 11.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.02151, allocations: 0 / 262.9 MB, free: 11.17 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.999e-05/0.02155, allocations: 0 / 262.9 MB, free: 11.17 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.003852/0.0254, allocations: 1.863 MB / 264.8 MB, free: 9.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.02545, allocations: 15.92 kB / 264.8 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.02591, allocations: 236 kB / 265 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.02782, allocations: 0.7052 MB / 265.8 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/0.0279, allocations: 82.62 kB / 265.8 MB, free: 8.199 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.0281, allocations: 120.3 kB / 266 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.03125, allocations: 1.719 MB / 267.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.03128, allocations: 0 / 267.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.03139, allocations: 51.94 kB / 267.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.03142, allocations: 28 kB / 267.7 MB, free: 6.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.03367, allocations: 1.18 MB / 268.9 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008593/0.04227, allocations: 4.411 MB / 273.3 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.04326, allocations: 0.5421 MB / 273.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008806/0.04414, allocations: 429.6 kB / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.04418, allocations: 12.5 kB / 274.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.04424, allocations: 41.89 kB / 274.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.04424, allocations: 0 / 274.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001482/0.04572, allocations: 0.7269 MB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.04577, allocations: 55.91 kB / 275.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.04705, allocations: 0.8977 MB / 276 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.0471, allocations: 33.7 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/0.04775, allocations: 0.6432 MB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.04797, allocations: 202.4 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.04819, allocations: 128 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000444/0.04864, allocations: 0.6211 MB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.04908, allocations: 237.1 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.04965, allocations: 375.7 kB / 278.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.05065, allocations: 0.6234 MB / 278.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.05066, allocations: 0 / 278.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001565/0.05222, allocations: 0.7235 MB / 279.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.05224, allocations: 4 kB / 279.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.05225, allocations: 4 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.05227, allocations: 4 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.05291, allocations: 147.8 kB / 279.8 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.05293, allocations: 4 kB / 279.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.05334, allocations: 63.61 kB / 279.8 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.05339, allocations: 19.98 kB / 279.8 MB, free: 9.789 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.0007201/0.05411, allocations: 444.1 kB / 280.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.05428, allocations: 95.58 kB / 280.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.05449, allocations: 78.83 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.0545, allocations: 7.984 kB / 280.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.05451, allocations: 0 / 280.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.05451, allocations: 3.938 kB / 280.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.05804, allocations: 1.847 MB / 282.3 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.05805, allocations: 3.938 kB / 282.3 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.05858, allocations: 119.8 kB / 282.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.05858, allocations: 4 kB / 282.4 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.05862, allocations: 12 kB / 282.4 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.05862, allocations: 4 kB / 282.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.05863, allocations: 8 kB / 282.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.06018, allocations: 0.9628 MB / 283.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.06043, allocations: 103.3 kB / 283.5 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.829e-05/0.06052, allocations: 8 kB / 283.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.06093, allocations: 43.95 kB / 283.6 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.06106, allocations: 40.42 kB / 283.6 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.06109, allocations: 20 kB / 283.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008632/0.06196, allocations: 0.5809 MB / 284.2 MB, free: 5.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06196, allocations: 0 / 284.2 MB, free: 5.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008106/0.06277, allocations: 291 kB / 284.5 MB, free: 5.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.0001678/0.06293, allocations: 115.1 kB / 284.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.06396, allocations: 0.5462 MB / 285.1 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.06397, allocations: 4.188 kB / 285.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.0644, allocations: 259.3 kB / 285.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/0.06529, allocations: 178.9 kB / 285.6 MB, free: 3.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.06947, allocations: 2.095 MB / 287.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/0.07031, allocations: 0.6742 MB / 288.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004718/0.07078, allocations: 153.5 kB / 288.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.07095, allocations: 56.48 kB / 288.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of SimCode: time 1.974e-06/0.07096, allocations: 0 / 288.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of Templates: time 0.01989/0.09085, allocations: 9.693 MB / 298.2 MB, free: 7.191 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","/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.622274587047286]