Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001885/0.001885, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002274/0.002274, allocations: 216 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 39.94 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2371, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01027/0.2474, allocations: 7.852 MB / 439.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.2533, allocations: 2.741 MB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.2546, allocations: 87.38 kB / 442.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.2564, allocations: 0.5975 MB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.2589, allocations: 0.7653 MB / 443.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.2602, allocations: 427.3 kB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004195/0.2644, allocations: 3.288 MB / 447.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.2672, allocations: 2.004 MB / 449.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.2701, allocations: 1.711 MB / 451.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.273, allocations: 2.079 MB / 453.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006041/0.2736, allocations: 468 kB / 453.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.2749, allocations: 0.726 MB / 454.4 MB, free: 92 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.2761, allocations: 1.258 MB / 455.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002247/0.2784, allocations: 1.968 MB / 457.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.2848, allocations: 6.127 MB / 463.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2848, allocations: 0 / 463.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2848, allocations: 0 / 463.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.626e-05/0.2849, allocations: 0 / 463.7 MB, free: 6.707 MB / 366.1 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.00779/0.2927, allocations: 3.821 MB / 467.5 MB, free: 2.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2928, allocations: 8.031 kB / 467.5 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.2941, allocations: 442.5 kB / 468 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004672/0.2988, allocations: 2.131 MB / 470.1 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.2991, allocations: 217.8 kB / 470.3 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000933/0.3, allocations: 284 kB / 470.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008093/0.3081, allocations: 4.187 MB / 474.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/0.3082, allocations: 0 / 474.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.3085, allocations: 124 kB / 474.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.3086, allocations: 141.9 kB / 475 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006214/0.3149, allocations: 3.493 MB / 478.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0196/0.3344, allocations: 10.67 MB / 489.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.3371, allocations: 1.651 MB / 490.9 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/0.3396, allocations: 1.403 MB / 492.3 MB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.3398, allocations: 52.89 kB / 492.3 MB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.3398, allocations: 47.56 kB / 492.4 MB, free: 9.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.427e-06/0.3398, allocations: 3.938 kB / 492.4 MB, free: 9.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009592/0.3494, allocations: 5.128 MB / 497.5 MB, free: 4.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.3495, allocations: 90.42 kB / 497.6 MB, free: 4.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/0.3524, allocations: 1.922 MB / 499.5 MB, free: 2.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.3525, allocations: 49.7 kB / 499.5 MB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.3536, allocations: 1.349 MB / 0.4892 GB, free: 1.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.354, allocations: 491.8 kB / 0.4896 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.3544, allocations: 263.5 kB / 0.4899 GB, free: 332 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3546, allocations: 313.1 kB / 0.4902 GB, free: 16 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.3559, allocations: 0.8238 MB / 0.491 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.3576, allocations: 1.175 MB / 0.4921 GB, free: 13.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.3607, allocations: 2.082 MB / 0.4942 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3607, allocations: 4 kB / 0.4942 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004592/0.3653, allocations: 2.527 MB / 0.4966 GB, free: 9.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3653, allocations: 12 kB / 0.4966 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.3653, allocations: 8 kB / 0.4967 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.3674, allocations: 479.1 kB / 0.4971 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.3688, allocations: 335.5 kB / 0.4974 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006022/0.3748, allocations: 4.295 MB / 0.5016 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.3762, allocations: 87.94 kB / 0.5017 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.3763, allocations: 56 kB / 0.5018 GB, free: 3.746 MB / 414.1 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.001703/0.378, allocations: 1.055 MB / 0.5028 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/0.3785, allocations: 198.8 kB / 0.503 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/0.3823, allocations: 2.141 MB / 0.5051 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-05/0.3823, allocations: 16 kB / 0.5051 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3823, allocations: 8 kB / 0.5051 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.3823, allocations: 3.984 kB / 0.5051 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009118/0.3915, allocations: 5.158 MB / 0.5101 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.3915, allocations: 4 kB / 0.5101 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.3925, allocations: 223.6 kB / 0.5104 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.3944, allocations: 457 kB / 0.5108 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/0.3945, allocations: 35.98 kB / 0.5108 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/0.4002, allocations: 4.203 MB / 0.5149 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4002, allocations: 3.984 kB / 0.5149 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/0.4057, allocations: 3.252 MB / 0.5181 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.4072, allocations: 390.6 kB / 0.5185 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.4075, allocations: 39.97 kB / 0.5185 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4085, allocations: 95.91 kB / 0.5186 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.4087, allocations: 104.7 kB / 0.5187 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.4088, allocations: 39.98 kB / 0.5187 GB, free: 2.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002021/0.4108, allocations: 1.346 MB / 0.5201 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4108, allocations: 0 / 0.5201 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001657/0.4125, allocations: 0.5507 MB / 0.5206 GB, free: 192 kB / 430.1 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.0005544/0.4131, allocations: 216.4 kB / 0.5208 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003703/0.4168, allocations: 2.126 MB / 0.5229 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.4168, allocations: 4 kB / 0.5229 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.4187, allocations: 1.152 MB / 0.524 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.421, allocations: 0.5181 MB / 0.5245 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009903/0.4309, allocations: 5.83 MB / 0.5302 GB, free: 6.258 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/0.4332, allocations: 2.431 MB / 0.5326 GB, free: 3.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00146/0.4347, allocations: 0.4915 MB / 0.5331 GB, free: 3.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.4351, allocations: 131.3 kB / 0.5332 GB, free: 3.168 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4351, allocations: 0 / 0.5332 GB, free: 3.168 MB / 446.1 MB Notification: Performance of Templates: time 0.2318/0.667, allocations: 32.02 MB / 0.5645 GB, free: 81.02 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.869574954966083]