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.001611/0.001611, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 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.001682/0.001682, allocations: 189.9 kB / 24.47 MB, free: 4.203 MB / 14.72 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.466/1.466, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 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 0.001577/0.001577, allocations: 51.94 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2368, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01082/0.2477, allocations: 7.852 MB / 431.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00579/0.2535, allocations: 2.656 MB / 434.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.2549, allocations: 91.38 kB / 434.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.2568, allocations: 0.5874 MB / 435.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.2595, allocations: 0.7653 MB / 435.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.2608, allocations: 427.3 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004709/0.2655, allocations: 3.292 MB / 439.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003561/0.269, allocations: 2.004 MB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.2721, allocations: 1.692 MB / 443.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003572/0.2757, allocations: 2.083 MB / 445.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.2768, allocations: 460 kB / 445.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.2788, allocations: 0.7416 MB / 446.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.2807, allocations: 1.274 MB / 447.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003394/0.2841, allocations: 1.96 MB / 449.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008098/0.2922, allocations: 6.123 MB / 455.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2922, allocations: 0 / 455.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2922, allocations: 0 / 455.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001732/0.2923, allocations: 0 / 455.9 MB, free: 14.52 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.008842/0.3012, allocations: 3.817 MB / 459.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3012, allocations: 8.031 kB / 459.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/0.3022, allocations: 406.6 kB / 460.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.3062, allocations: 2.107 MB / 462.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.3064, allocations: 221.8 kB / 462.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004325/0.3069, allocations: 288 kB / 462.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007063/0.3139, allocations: 4.195 MB / 466.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.314, allocations: 0 / 466.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.3143, allocations: 120 kB / 467 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/0.3144, allocations: 137.9 kB / 467.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.3204, allocations: 3.49 MB / 470.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.339, allocations: 10.66 MB / 481.3 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.3415, allocations: 1.647 MB / 483 MB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.3441, allocations: 1.411 MB / 484.4 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.3443, allocations: 52.95 kB / 484.4 MB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.3443, allocations: 51.5 kB / 484.5 MB, free: 1.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.546e-06/0.3443, allocations: 0 / 484.5 MB, free: 1.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009421/0.3537, allocations: 5.129 MB / 489.6 MB, free: 12.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.3538, allocations: 90.42 kB / 489.7 MB, free: 12.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.3567, allocations: 1.909 MB / 491.6 MB, free: 10.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.3568, allocations: 53.7 kB / 491.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.3579, allocations: 1.357 MB / 493 MB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004506/0.3583, allocations: 479.9 kB / 493.5 MB, free: 8.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.3588, allocations: 271.5 kB / 493.7 MB, free: 8.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3589, allocations: 305.1 kB / 494 MB, free: 7.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.3603, allocations: 0.8159 MB / 494.8 MB, free: 7.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.3619, allocations: 1.182 MB / 496 MB, free: 5.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.3649, allocations: 2.082 MB / 498.1 MB, free: 3.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3649, allocations: 4 kB / 498.1 MB, free: 3.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004463/0.3693, allocations: 2.524 MB / 0.4889 GB, free: 1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3694, allocations: 14.81 kB / 0.4889 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.3694, allocations: 11.98 kB / 0.4889 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.3713, allocations: 472.3 kB / 0.4894 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.3727, allocations: 339.5 kB / 0.4897 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.3785, allocations: 4.292 MB / 0.4939 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.3798, allocations: 79.92 kB / 0.494 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.38, allocations: 63.98 kB / 0.494 GB, free: 11.64 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.001679/0.3817, allocations: 1.048 MB / 0.4951 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.3821, allocations: 202.8 kB / 0.4953 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.3859, allocations: 2.141 MB / 0.4973 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/0.3859, allocations: 16 kB / 0.4974 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3859, allocations: 4 kB / 0.4974 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3859, allocations: 7.969 kB / 0.4974 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009304/0.3952, allocations: 5.142 MB / 0.5024 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3952, allocations: 3.938 kB / 0.5024 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.3963, allocations: 235.9 kB / 0.5026 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/0.3982, allocations: 460.7 kB / 0.5031 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.105e-05/0.3983, allocations: 27.98 kB / 0.5031 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005677/0.404, allocations: 4.196 MB / 0.5072 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.404, allocations: 4 kB / 0.5072 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/0.4093, allocations: 3.252 MB / 0.5104 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.4104, allocations: 398.7 kB / 0.5107 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.4107, allocations: 31.98 kB / 0.5108 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.4117, allocations: 99.88 kB / 0.5109 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.4119, allocations: 108.7 kB / 0.511 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.4121, allocations: 39.98 kB / 0.511 GB, free: 9.984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002037/0.4141, allocations: 1.33 MB / 0.5123 GB, free: 8.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4141, allocations: 0 / 0.5123 GB, free: 8.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001653/0.4157, allocations: 0.5585 MB / 0.5129 GB, free: 8.102 MB / 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.0005644/0.4163, allocations: 221.2 kB / 0.5131 GB, free: 7.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.4201, allocations: 2.126 MB / 0.5151 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4201, allocations: 0 / 0.5151 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.4221, allocations: 1.152 MB / 0.5163 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.4242, allocations: 0.5108 MB / 0.5168 GB, free: 4.066 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.4346, allocations: 5.827 MB / 0.5225 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/0.437, allocations: 2.366 MB / 0.5248 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/0.4377, allocations: 139.4 kB / 0.5249 GB, free: 11.64 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4377, allocations: 0 / 0.5249 GB, free: 11.64 MB / 446.1 MB Notification: Performance of Templates: time 0.2483/0.686, allocations: 51.38 MB / 0.5751 GB, free: 77.14 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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: 13.427901658928022]