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.0009992/0.0009992, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002461, allocations: 445.8 kB / 10.44 MB, free: 256 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.0008095/0.0008095, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.001978, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8045/0.8045, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1396/0.9441, allocations: 52.48 MB / 238.5 MB, free: 7.617 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.212e-06/1.212e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.496e-06/9.708e-06, allocations: 3.281 kB / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00292/0.00293, allocations: 3.759 MB / 243.5 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004187, allocations: 1.03 MB / 244.5 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.004357, allocations: 27.81 kB / 244.6 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.004559, allocations: 158.8 kB / 244.7 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.005056, allocations: 316.3 kB / 245 MB, free: 1.066 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.005221, allocations: 130.8 kB / 245.1 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008522/0.006074, allocations: 1.474 MB / 246.6 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.006564, allocations: 0.6591 MB / 247.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.007258, allocations: 1.04 MB / 248.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.007906, allocations: 0.7725 MB / 249.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.008045, allocations: 164.9 kB / 249.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.008205, allocations: 160 kB / 249.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.008425, allocations: 399 kB / 249.8 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.00872, allocations: 432.2 kB / 250.2 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.009441, allocations: 1.168 MB / 251.4 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.00945, allocations: 1.781 kB / 251.4 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00945, allocations: 0 / 251.4 MB, free: 10.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.009472, allocations: 0 / 251.4 MB, free: 10.63 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.00154/0.01101, allocations: 1.793 MB / 253.2 MB, free: 8.816 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.515e-05/0.01104, allocations: 8.031 kB / 253.2 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.01122, allocations: 184.8 kB / 253.4 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.01177, allocations: 0.5244 MB / 253.9 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.01182, allocations: 86.62 kB / 254 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.01192, allocations: 113.2 kB / 254.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.0127, allocations: 0.9325 MB / 255 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.01272, allocations: 0 / 255 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.01278, allocations: 44 kB / 255.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.0128, allocations: 31.98 kB / 255.1 MB, free: 6.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.01314, allocations: 259.3 kB / 255.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.01559, allocations: 2.526 MB / 257.9 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.01587, allocations: 301.5 kB / 258.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.01612, allocations: 222.9 kB / 258.4 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.01614, allocations: 8.5 kB / 258.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.01616, allocations: 39.06 kB / 258.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=51): time 2.234e-06/0.01616, allocations: 7.922 kB / 258.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0003197/0.01648, allocations: 274 kB / 258.7 MB, free: 3.047 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.0165, allocations: 55.91 kB / 258.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.01683, allocations: 0.5117 MB / 259.3 MB, free: 2.453 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.01686, allocations: 37.7 kB / 259.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.01703, allocations: 489 kB / 259.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.01711, allocations: 178.4 kB / 260 MB, free: 1.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.01721, allocations: 102.2 kB / 260.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.01731, allocations: 386.6 kB / 260.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.01737, allocations: 49.28 kB / 260.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.01748, allocations: 147.6 kB / 260.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.01769, allocations: 253.1 kB / 260.9 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01769, allocations: 7.938 kB / 260.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002792/0.01797, allocations: 286.3 kB / 261.2 MB, free: 472 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.01798, allocations: 8 kB / 261.2 MB, free: 464 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01799, allocations: 0 / 261.2 MB, free: 464 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.018, allocations: 4.281 kB / 261.2 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.01842, allocations: 210.7 kB / 261.4 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01843, allocations: 4 kB / 261.4 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.01857, allocations: 51.62 kB / 261.4 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.01859, allocations: 16 kB / 261.5 MB, free: 184 kB / 250.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.000132/0.01872, allocations: 140.5 kB / 261.6 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.01879, allocations: 67.92 kB / 261.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.01887, allocations: 82.83 kB / 261.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.01887, allocations: 8 kB / 261.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01887, allocations: 0 / 261.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01888, allocations: 3.984 kB / 261.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009698/0.01985, allocations: 1.099 MB / 262.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01985, allocations: 0 / 262.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.02017, allocations: 163.7 kB / 263 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.02025, allocations: 75.41 kB / 263.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.02025, allocations: 8.141 kB / 263.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.02028, allocations: 16 kB / 263.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.02028, allocations: 4 kB / 263.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.02028, allocations: 3.938 kB / 263.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.02065, allocations: 464.2 kB / 263.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.0207, allocations: 23.92 kB / 263.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.02085, allocations: 31.98 kB / 263.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.02091, allocations: 40.38 kB / 263.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.02092, allocations: 12 kB / 263.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.02109, allocations: 248.6 kB / 263.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02109, allocations: 0 / 263.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003203/0.02141, allocations: 291.1 kB / 264.2 MB, free: 13.34 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 8.483e-05/0.0215, allocations: 96.3 kB / 264.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.02174, allocations: 233.4 kB / 264.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.02176, allocations: 12 kB / 264.5 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.0219, allocations: 157.5 kB / 264.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/0.02274, allocations: 1.799 MB / 266.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/0.02825, allocations: 2.069 MB / 268.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.02845, allocations: 325.3 kB / 268.9 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.02862, allocations: 89.91 kB / 269 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.02894, allocations: 221.2 kB / 269.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02894, allocations: 4 kB / 269.2 MB, free: 7.898 MB / 266.7 MB Notification: Performance of Templates: time 0.01278/0.04172, allocations: 11.36 MB / 280.5 MB, free: 12.79 MB / 282.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.397221610881388]