Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.00109/0.00109, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.002286, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0007212/0.0007212, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009577/0.001679, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9612/0.9612, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.061, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] 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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.161e-05, allocations: 6.312 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.009373/0.009395, allocations: 3.761 MB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.01084, allocations: 1.024 MB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.01104, allocations: 31.81 kB / 244.4 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.0113, allocations: 162.8 kB / 244.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.01472, allocations: 310.1 kB / 244.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.01492, allocations: 139.6 kB / 245 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008868/0.0158, allocations: 1.47 MB / 246.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005485/0.01635, allocations: 0.6552 MB / 247.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.01702, allocations: 1.044 MB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006235/0.01764, allocations: 0.7795 MB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.01776, allocations: 156 kB / 249.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.01791, allocations: 160 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.01816, allocations: 391 kB / 249.6 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.01854, allocations: 431.2 kB / 250 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000895/0.01944, allocations: 1.172 MB / 251.2 MB, free: 7.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.866e-05/0.01945, allocations: 0 / 251.2 MB, free: 7.449 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01946, allocations: 0 / 251.2 MB, free: 7.449 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.01948, allocations: 0 / 251.2 MB, free: 7.449 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.001908/0.02139, allocations: 1.793 MB / 253 MB, free: 5.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.02142, allocations: 8.031 kB / 253 MB, free: 5.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.0216, allocations: 188.8 kB / 253.2 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.02214, allocations: 0.5241 MB / 253.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.02219, allocations: 86.62 kB / 253.8 MB, free: 4.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.0223, allocations: 112.4 kB / 253.9 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/0.0231, allocations: 0.9231 MB / 254.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.02311, allocations: 4 kB / 254.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.02318, allocations: 51.98 kB / 254.9 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.02319, allocations: 24 kB / 254.9 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.02358, allocations: 255.3 kB / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.02643, allocations: 2.534 MB / 257.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.02673, allocations: 305.5 kB / 258 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.027, allocations: 218.9 kB / 258.2 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.02703, allocations: 8.5 kB / 258.2 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.02705, allocations: 39.06 kB / 258.2 MB, free: 128 kB / 250.7 MB Notification: Performance of pre-optimization done (n=51): time 2.305e-06/0.02706, allocations: 0 / 258.2 MB, free: 128 kB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0003859/0.02744, allocations: 274 kB / 258.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.02747, allocations: 59.89 kB / 258.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.02783, allocations: 0.5195 MB / 259.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.02814, allocations: 33.7 kB / 259.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.02848, allocations: 485 kB / 259.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.02866, allocations: 178.4 kB / 259.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.02881, allocations: 98.25 kB / 259.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.02895, allocations: 386.6 kB / 260.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.02906, allocations: 45.3 kB / 260.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.02923, allocations: 151.5 kB / 260.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.02962, allocations: 241.1 kB / 260.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.02963, allocations: 4 kB / 260.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004551/0.03008, allocations: 290.5 kB / 260.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.0301, allocations: 8 kB / 261 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.03011, allocations: 0 / 261 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.03013, allocations: 4 kB / 261 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/0.03076, allocations: 202.9 kB / 261.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.03076, allocations: 7.938 kB / 261.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.03098, allocations: 51.72 kB / 261.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.03101, allocations: 16 kB / 261.2 MB, free: 12.99 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.000188/0.0312, allocations: 140.5 kB / 261.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.0313, allocations: 67.92 kB / 261.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.03141, allocations: 78.83 kB / 261.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.03142, allocations: 8 kB / 261.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.03142, allocations: 0 / 261.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.03143, allocations: 7.922 kB / 261.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.03292, allocations: 1.095 MB / 262.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03292, allocations: 0 / 262.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.03341, allocations: 182.4 kB / 262.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.995e-05/0.03351, allocations: 75.41 kB / 262.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.03351, allocations: 4 kB / 262.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.03355, allocations: 15.98 kB / 262.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.03356, allocations: 4 kB / 262.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.03356, allocations: 3.938 kB / 262.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.03412, allocations: 464.2 kB / 263.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.377e-05/0.0342, allocations: 19.98 kB / 263.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.03444, allocations: 31.98 kB / 263.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.03451, allocations: 40.38 kB / 263.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.03454, allocations: 12 kB / 263.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.03479, allocations: 248.6 kB / 263.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03479, allocations: 0 / 263.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.03528, allocations: 291.1 kB / 264 MB, free: 10.14 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.0001284/0.03541, allocations: 104.2 kB / 264.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.03576, allocations: 228.4 kB / 264.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.188e-05/0.03578, allocations: 12 kB / 264.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.03594, allocations: 124.5 kB / 264.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.03642, allocations: 227.6 kB / 264.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.04228, allocations: 2.073 MB / 266.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.04248, allocations: 317.3 kB / 267 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.04266, allocations: 89.81 kB / 267.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.04297, allocations: 221.2 kB / 267.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of SimCode: time 1.483e-06/0.04297, allocations: 0 / 267.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of Templates: time 0.1117/0.1547, allocations: 11.27 MB / 278.6 MB, free: 25.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/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.7834819443523884]