Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001281/0.001281, allocations: 81.97 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.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.001545/0.001545, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9074/0.9074, allocations: 177.1 MB / 206 MB, free: 4.504 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.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.522e-05, allocations: 2.312 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003497/0.003512, allocations: 3.45 MB / 277.6 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.005072, allocations: 0.9408 MB / 278.6 MB, free: 16 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.005322, allocations: 11.94 kB / 278.6 MB, free: 4 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.005574, allocations: 91.75 kB / 278.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.005916, allocations: 186.5 kB / 278.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.006245, allocations: 175.7 kB / 279 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.006724, allocations: 0.6541 MB / 279.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.006939, allocations: 130 kB / 279.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.00729, allocations: 371.1 kB / 280.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.007486, allocations: 195.4 kB / 280.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.00754, allocations: 52 kB / 280.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.796e-05/0.007587, allocations: 52 kB / 280.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.007658, allocations: 127.5 kB / 280.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.00779, allocations: 199.4 kB / 280.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.008129, allocations: 406.4 kB / 281.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.008131, allocations: 3.938 kB / 281.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.008132, allocations: 4 kB / 281.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.008138, allocations: 0 / 281.2 MB, free: 13.39 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008646/0.009003, allocations: 0.9009 MB / 282.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.009033, allocations: 12.03 kB / 282.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.506e-05/0.009128, allocations: 104.5 kB / 282.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.009392, allocations: 292.2 kB / 282.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.009422, allocations: 37.69 kB / 282.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.009467, allocations: 48.38 kB / 282.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.009798, allocations: 307.8 kB / 282.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.009809, allocations: 4.188 kB / 282.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.009836, allocations: 23.94 kB / 282.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.009847, allocations: 12 kB / 282.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.01005, allocations: 174.2 kB / 283.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.01138, allocations: 1.278 MB / 284.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.01166, allocations: 205.4 kB / 284.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.01179, allocations: 104.2 kB / 284.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.01181, allocations: 4.328 kB / 284.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.01184, allocations: 41.72 kB / 284.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.834e-06/0.01184, allocations: 0 / 284.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.00125/0.01309, allocations: 0.8143 MB / 285.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.01312, allocations: 59.91 kB / 285.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.01337, allocations: 422.3 kB / 286 MB, free: 8.367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.01339, allocations: 37.7 kB / 286 MB, free: 8.324 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.01354, allocations: 371.3 kB / 286.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.01363, allocations: 190.3 kB / 286.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.01375, allocations: 131.8 kB / 286.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01389, allocations: 0.5312 MB / 287.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.01397, allocations: 65.25 kB / 287.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.01414, allocations: 234.6 kB / 287.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.01442, allocations: 339.8 kB / 287.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01442, allocations: 3.938 kB / 287.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005542/0.01497, allocations: 0.5233 MB / 288.4 MB, free: 5.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01499, allocations: 8 kB / 288.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01499, allocations: 0 / 288.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.01554, allocations: 246 kB / 288.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.01579, allocations: 107.8 kB / 288.8 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.01819, allocations: 4.685 MB / 293.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.01836, allocations: 24.06 kB / 293.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.01838, allocations: 23.98 kB / 293.5 MB, free: 0.4961 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.0001223/0.0185, allocations: 184.5 kB / 293.7 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.01857, allocations: 71.61 kB / 293.7 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.254e-05/0.01863, allocations: 61.03 kB / 293.8 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01863, allocations: 4 kB / 293.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.01865, allocations: 4 kB / 293.8 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01865, allocations: 7.984 kB / 293.8 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009318/0.01958, allocations: 0.9308 MB / 294.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01959, allocations: 0 / 294.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.01972, allocations: 67.84 kB / 294.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/0.02018, allocations: 219.1 kB / 295 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.0202, allocations: 12 kB / 295 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.02236, allocations: 4.574 MB / 299.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02236, allocations: 0 / 299.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.02283, allocations: 0.5886 MB / 300.2 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.02287, allocations: 43.66 kB / 300.2 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.02289, allocations: 12 kB / 300.2 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.02302, allocations: 23.92 kB / 300.3 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.02309, allocations: 48.41 kB / 300.3 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.0231, allocations: 11.94 kB / 300.3 MB, free: 9.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.02324, allocations: 267 kB / 300.6 MB, free: 9.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02324, allocations: 0 / 300.6 MB, free: 9.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.02368, allocations: 152 kB / 300.7 MB, free: 8.883 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 8.593e-05/0.02377, allocations: 119.2 kB / 300.9 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008658/0.02464, allocations: 0.7098 MB / 301.6 MB, free: 8.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02464, allocations: 0 / 301.6 MB, free: 8.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.02496, allocations: 0.5534 MB / 302.1 MB, free: 7.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.02523, allocations: 46.05 kB / 302.2 MB, free: 7.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.02619, allocations: 0.9146 MB / 303.1 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.616e-05/0.02627, allocations: 134.2 kB / 303.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.02638, allocations: 44.25 kB / 303.3 MB, free: 6.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.02648, allocations: 114.2 kB / 303.4 MB, free: 6.094 MB / 282.7 MB Notification: Performance of SimCode: time 5.72e-07/0.02649, allocations: 0 / 303.4 MB, free: 6.094 MB / 282.7 MB Notification: Performance of Templates: time 0.008187/0.03467, allocations: 5.707 MB / 309.1 MB, free: 440 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.898837740998715]