Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001163/0.001163, allocations: 80.62 kB / 22.21 MB, free: 2.289 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.001284/0.001284, allocations: 148.1 kB / 25.59 MB, free: 8.562 MB / 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 0.9444/0.9444, allocations: 173.4 MB / 202.2 MB, free: 8.324 MB / 186.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.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 269.2 MB, free: 9.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.789e-05, allocations: 2.312 kB / 269.2 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003434/0.003451, allocations: 3.415 MB / 272.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.005014, allocations: 0.9091 MB / 273.5 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.005232, allocations: 8.938 kB / 273.5 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.00546, allocations: 95.08 kB / 273.6 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.005781, allocations: 168.2 kB / 273.8 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.006048, allocations: 174.7 kB / 274 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.006504, allocations: 0.6502 MB / 274.6 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.006709, allocations: 135.4 kB / 274.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.007064, allocations: 375.1 kB / 275.1 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.00726, allocations: 191.4 kB / 275.3 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.00732, allocations: 57.75 kB / 275.3 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.007369, allocations: 56 kB / 275.4 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.007717, allocations: 127.5 kB / 275.5 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.007838, allocations: 191.5 kB / 275.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.008162, allocations: 414.3 kB / 276.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.008165, allocations: 0.8125 kB / 276.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.008166, allocations: 0 / 276.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.008171, allocations: 0.5 kB / 276.1 MB, free: 2.926 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.000899/0.009069, allocations: 0.8855 MB / 277 MB, free: 2.004 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.009104, allocations: 12.03 kB / 277 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.009204, allocations: 104.6 kB / 277.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.009495, allocations: 296.1 kB / 277.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.00953, allocations: 37.69 kB / 277.4 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.00958, allocations: 52.38 kB / 277.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.009924, allocations: 303.8 kB / 277.8 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.009936, allocations: 192 / 277.8 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.009963, allocations: 23.94 kB / 277.8 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.009974, allocations: 12 kB / 277.8 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.01018, allocations: 178.2 kB / 278 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01152, allocations: 1.262 MB / 279.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.01182, allocations: 205.3 kB / 279.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.01196, allocations: 104.3 kB / 279.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01198, allocations: 4.328 kB / 279.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.01201, allocations: 41.72 kB / 279.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.01201, allocations: 0 / 279.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001275/0.01329, allocations: 0.8184 MB / 280.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.01332, allocations: 63.91 kB / 280.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.01356, allocations: 414.3 kB / 280.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.01359, allocations: 33.7 kB / 280.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.01374, allocations: 363.3 kB / 281.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.01384, allocations: 202.2 kB / 281.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.01395, allocations: 115.9 kB / 281.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.01409, allocations: 0.5351 MB / 282.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/0.01419, allocations: 69.25 kB / 282.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.01435, allocations: 234.6 kB / 282.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.01488, allocations: 343.9 kB / 282.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01488, allocations: 0 / 282.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005503/0.01543, allocations: 0.5235 MB / 283.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01545, allocations: 4 kB / 283.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.01545, allocations: 4 kB / 283.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.016, allocations: 245.9 kB / 283.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.01623, allocations: 107.8 kB / 283.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.01864, allocations: 4.683 MB / 288.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.01882, allocations: 23.98 kB / 288.3 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.01884, allocations: 24.06 kB / 288.4 MB, free: 6.078 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.01897, allocations: 188.4 kB / 288.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.01903, allocations: 71.61 kB / 288.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.0191, allocations: 60.89 kB / 288.7 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.0191, allocations: 8 kB / 288.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.01911, allocations: 4 kB / 288.7 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.01912, allocations: 3.984 kB / 288.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009668/0.02009, allocations: 0.9267 MB / 289.6 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02009, allocations: 4.125 kB / 289.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.02023, allocations: 63.84 kB / 289.7 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007391/0.02097, allocations: 219.1 kB / 289.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.02098, allocations: 8 kB / 289.9 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.0231, allocations: 4.57 MB / 294.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02311, allocations: 4 kB / 294.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.02359, allocations: 0.5847 MB / 295.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.02363, allocations: 43.73 kB / 295.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.02366, allocations: 12 kB / 295.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.02379, allocations: 19.94 kB / 295.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.02386, allocations: 48.34 kB / 295.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.02387, allocations: 12 kB / 295.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.02401, allocations: 263 kB / 295.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02401, allocations: 0 / 295.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.02449, allocations: 152 kB / 295.6 MB, free: 14.48 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001096/0.0246, allocations: 119.2 kB / 295.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006552/0.02525, allocations: 0.7069 MB / 296.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02525, allocations: 4.062 kB / 296.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.02587, allocations: 0.5534 MB / 297 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.02617, allocations: 44.62 kB / 297 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02722, allocations: 0.9059 MB / 297.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.781e-05/0.0273, allocations: 134.2 kB / 298.1 MB, free: 11.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.02741, allocations: 44.25 kB / 298.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.02753, allocations: 118.2 kB / 298.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02753, allocations: 0 / 298.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of Templates: time 0.008888/0.03642, allocations: 5.688 MB / 303.9 MB, free: 6.051 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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: 2.7948435340076685]