Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001364/0.001364, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001468/0.001468, allocations: 170.4 kB / 24.91 MB, free: 8.738 MB / 18.57 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 0.9505/0.9505, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.264e-05, allocations: 2.312 kB / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.01133/0.01135, allocations: 4.053 MB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005001/0.01635, allocations: 0.9848 MB / 278.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.01663, allocations: 11.94 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.01686, allocations: 95.08 kB / 278.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.01727, allocations: 194.2 kB / 278.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.01767, allocations: 163.7 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006934/0.01836, allocations: 0.7002 MB / 279.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.01861, allocations: 148.3 kB / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.0212, allocations: 403 kB / 280.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.02152, allocations: 215.3 kB / 280.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.0216, allocations: 59.94 kB / 280.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.02173, allocations: 56 kB / 280.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.284e-05/0.02182, allocations: 135.4 kB / 280.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.02202, allocations: 219.4 kB / 280.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.02252, allocations: 438.3 kB / 281.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.02252, allocations: 0 / 281.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.02252, allocations: 4 kB / 281.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.02253, allocations: 4 kB / 281.4 MB, free: 9.332 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001044/0.02357, allocations: 0.7799 MB / 282.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.02361, allocations: 12.03 kB / 282.2 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.02385, allocations: 100.8 kB / 282.3 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.02424, allocations: 261.4 kB / 282.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.02428, allocations: 37.38 kB / 282.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/0.02435, allocations: 52.38 kB / 282.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.02489, allocations: 0.5143 MB / 283.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.0249, allocations: 4.172 kB / 283.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.02494, allocations: 24.38 kB / 283.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.02495, allocations: 15.94 kB / 283.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.02518, allocations: 116 kB / 283.3 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.02695, allocations: 1.22 MB / 284.5 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.02723, allocations: 187.6 kB / 284.7 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.02733, allocations: 73.62 kB / 284.7 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.02735, allocations: 11.98 kB / 284.8 MB, free: 5.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.02738, allocations: 34.56 kB / 284.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.02738, allocations: 4 kB / 284.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001012/0.02839, allocations: 487 kB / 285.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.02843, allocations: 81.11 kB / 285.3 MB, free: 5.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.02871, allocations: 327.2 kB / 285.7 MB, free: 4.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.02874, allocations: 41.7 kB / 285.7 MB, free: 4.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.02888, allocations: 264.7 kB / 286 MB, free: 4.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.02896, allocations: 115 kB / 286.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.02906, allocations: 74.12 kB / 286.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.02918, allocations: 354.7 kB / 286.5 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.02925, allocations: 36.98 kB / 286.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.02937, allocations: 135.2 kB / 286.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.0296, allocations: 212.4 kB / 286.9 MB, free: 3.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.0296, allocations: 0 / 286.9 MB, free: 3.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004137/0.03002, allocations: 275 kB / 287.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.03003, allocations: 4 kB / 287.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.03004, allocations: 4 kB / 287.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.03042, allocations: 101.8 kB / 287.2 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.03068, allocations: 91.83 kB / 287.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.03233, allocations: 2.596 MB / 289.9 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.03251, allocations: 16.34 kB / 289.9 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.03253, allocations: 23.94 kB / 290 MB, free: 180 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.03265, allocations: 137.7 kB / 290.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.03273, allocations: 31.97 kB / 290.1 MB, free: 0 / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.03277, allocations: 43.41 kB / 290.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.03278, allocations: 7.938 kB / 290.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.03278, allocations: 0 / 290.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.03279, allocations: 3.984 kB / 290.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008638/0.03365, allocations: 0.5658 MB / 290.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.03366, allocations: 0 / 290.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.03382, allocations: 51.8 kB / 290.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003487/0.03416, allocations: 97.55 kB / 290.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.03419, allocations: 7.984 kB / 290.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.03587, allocations: 2.613 MB / 293.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.03587, allocations: 0 / 293.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.03632, allocations: 437.6 kB / 293.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.03637, allocations: 35.75 kB / 294 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.03641, allocations: 11.94 kB / 294 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.03664, allocations: 23.98 kB / 294 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.03671, allocations: 23.95 kB / 294 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.03672, allocations: 8 kB / 294.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.03688, allocations: 140.7 kB / 294.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03688, allocations: 0 / 294.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005686/0.03744, allocations: 116 kB / 294.3 MB, free: 11.6 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.0376, allocations: 92.34 kB / 294.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005122/0.03811, allocations: 428.5 kB / 294.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.03813, allocations: 4 kB / 294.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.03848, allocations: 344.9 kB / 295.2 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.03887, allocations: 61.78 kB / 295.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.04051, allocations: 0.8447 MB / 296.1 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.04061, allocations: 113.9 kB / 296.2 MB, free: 9.617 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.04077, allocations: 43.25 kB / 296.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.04097, allocations: 115.3 kB / 296.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.04097, allocations: 0 / 296.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of Templates: time 0.009939/0.05091, allocations: 4.744 MB / 301.1 MB, free: 4.801 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.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: 3.2077583712525666]