Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001734/0.001734, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.00203/0.00203, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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 1.457/1.457, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.651e-05/4.882e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01992/0.01997, allocations: 6.902 MB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.03028, allocations: 2.566 MB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.03211, allocations: 87.38 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.03507, allocations: 0.5818 MB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.03943, allocations: 0.7917 MB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.0415, allocations: 415.4 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007965/0.04946, allocations: 3.407 MB / 282.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00636/0.05582, allocations: 1.953 MB / 284 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008865/0.06469, allocations: 2.499 MB / 286.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006111/0.0708, allocations: 1.828 MB / 288.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.07242, allocations: 464 kB / 288.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.07527, allocations: 0.6479 MB / 289.5 MB, free: 496 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1329/0.2082, allocations: 1.287 MB / 290.7 MB, free: 19.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.2105, allocations: 1.36 MB / 292.1 MB, free: 19.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006234/0.2168, allocations: 6.191 MB / 298.3 MB, free: 19.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2168, allocations: 0 / 298.3 MB, free: 19.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2168, allocations: 1.125 kB / 298.3 MB, free: 19.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001183/0.2169, allocations: 1.906 kB / 298.3 MB, free: 19.2 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007513/0.2244, allocations: 3.774 MB / 302.1 MB, free: 17.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2244, allocations: 10.23 kB / 302.1 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.2259, allocations: 0.6348 MB / 302.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.2292, allocations: 2.188 MB / 304.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.2294, allocations: 222.2 kB / 305.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004334/0.2298, allocations: 288.7 kB / 305.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005962/0.2358, allocations: 4.446 MB / 309.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.178e-05/0.2358, allocations: 7.031 kB / 309.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/0.2361, allocations: 117 kB / 310 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.2362, allocations: 136.2 kB / 310.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004778/0.241, allocations: 3.489 MB / 313.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.2549, allocations: 9.424 MB / 323 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.2569, allocations: 1.637 MB / 324.6 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.2595, allocations: 1.409 MB / 326.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.2598, allocations: 60.97 kB / 326.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.2598, allocations: 51.03 kB / 326.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.638e-06/0.2598, allocations: 1.828 kB / 326.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.0111/0.2709, allocations: 5.161 MB / 331.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.271, allocations: 93.98 kB / 331.4 MB, free: 9.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/0.2742, allocations: 1.717 MB / 333.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.2743, allocations: 45.7 kB / 333.2 MB, free: 7.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.2756, allocations: 1.366 MB / 334.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/0.2761, allocations: 470 kB / 335 MB, free: 5.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007635/0.2768, allocations: 272.9 kB / 335.3 MB, free: 5.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.277, allocations: 301.1 kB / 335.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.2785, allocations: 0.8198 MB / 336.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.2804, allocations: 1.203 MB / 337.6 MB, free: 3.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/0.2839, allocations: 2.087 MB / 339.7 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.2839, allocations: 4 kB / 339.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005145/0.289, allocations: 2.578 MB / 342.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.289, allocations: 11.94 kB / 342.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.2891, allocations: 12 kB / 342.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.2916, allocations: 0.4945 MB / 342.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.2931, allocations: 329.2 kB / 343.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/0.2998, allocations: 4.245 MB / 347.3 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.3013, allocations: 79.92 kB / 347.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.3015, allocations: 60 kB / 347.5 MB, free: 9.051 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00222/0.3037, allocations: 1.042 MB / 348.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/0.3044, allocations: 238.6 kB / 348.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.3089, allocations: 2.122 MB / 350.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/0.3089, allocations: 19.94 kB / 350.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.309, allocations: 4 kB / 350.9 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.309, allocations: 7.969 kB / 350.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009292/0.3183, allocations: 4.468 MB / 355.4 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.3183, allocations: 4 kB / 355.4 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.3194, allocations: 224.7 kB / 355.6 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.3216, allocations: 483.9 kB / 356.1 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.3218, allocations: 39.92 kB / 356.1 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/0.3281, allocations: 4.153 MB / 360.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.3281, allocations: 4 kB / 360.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006199/0.3343, allocations: 3.272 MB / 363.5 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.3354, allocations: 367.8 kB / 363.9 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.3356, allocations: 30.95 kB / 363.9 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.3367, allocations: 103.9 kB / 364 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.337, allocations: 100.6 kB / 364.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/0.3373, allocations: 39.98 kB / 364.2 MB, free: 8.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002071/0.3394, allocations: 1.185 MB / 365.4 MB, free: 7.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3394, allocations: 0 / 365.4 MB, free: 7.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001994/0.3414, allocations: 0.5584 MB / 365.9 MB, free: 6.527 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006071/0.342, allocations: 225.8 kB / 366.1 MB, free: 6.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00386/0.3459, allocations: 2.128 MB / 368.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3459, allocations: 1.938 kB / 368.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.348, allocations: 1.148 MB / 369.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.3499, allocations: 447.2 kB / 369.8 MB, free: 2.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.3606, allocations: 5.812 MB / 375.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.3631, allocations: 1.864 MB / 377.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001315/0.3644, allocations: 469.9 kB / 378 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.3648, allocations: 124.5 kB / 378.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3648, allocations: 0 / 378.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of Templates: time 0.0524/0.4172, allocations: 27.65 MB / 405.8 MB, free: 15.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: 5.319562805001624]