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.0009491/0.0009491, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.00236, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008756/0.0008756, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002145, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8553/0.8553, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1647/1.02, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.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.673e-06/1.673e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.005e-05, allocations: 2.312 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004053/0.004073, allocations: 3.494 MB / 243.2 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.00514, allocations: 0.9486 MB / 244.2 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.005269, allocations: 11.94 kB / 244.2 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.005437, allocations: 96.41 kB / 244.3 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.00565, allocations: 168.7 kB / 244.5 MB, free: 1.656 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.005875, allocations: 173.7 kB / 244.6 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.006256, allocations: 0.6385 MB / 245.3 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.00643, allocations: 138.6 kB / 245.4 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.006774, allocations: 420.2 kB / 245.8 MB, free: 304 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.006952, allocations: 204.5 kB / 246 MB, free: 100 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.007005, allocations: 52 kB / 246.1 MB, free: 48 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.007065, allocations: 52.05 kB / 246.1 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.007121, allocations: 93.88 kB / 246.2 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.007221, allocations: 155.7 kB / 246.4 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.007512, allocations: 366.5 kB / 246.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.007522, allocations: 0 / 246.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007524, allocations: 0 / 246.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.007535, allocations: 0 / 246.7 MB, free: 15.39 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.0008049/0.00834, allocations: 0.8735 MB / 247.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.008368, allocations: 12.5 kB / 247.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.008446, allocations: 85.56 kB / 247.7 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.008683, allocations: 238.8 kB / 247.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.008714, allocations: 37.69 kB / 248 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.00876, allocations: 52.38 kB / 248 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.009081, allocations: 320.7 kB / 248.3 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.009092, allocations: 192 / 248.3 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.009117, allocations: 28.83 kB / 248.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.009126, allocations: 12 kB / 248.4 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.009292, allocations: 146.3 kB / 248.5 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01041, allocations: 1.048 MB / 249.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.01066, allocations: 192.8 kB / 249.7 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01077, allocations: 91.92 kB / 249.8 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.01079, allocations: 8.328 kB / 249.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.01081, allocations: 38.83 kB / 249.9 MB, free: 12.11 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/0.01082, allocations: 3.984 kB / 249.9 MB, free: 12.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.001423/0.01224, allocations: 0.9265 MB / 250.8 MB, free: 11.17 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.01227, allocations: 63.91 kB / 250.9 MB, free: 11.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.01246, allocations: 347.1 kB / 251.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.01248, allocations: 41.64 kB / 251.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.01258, allocations: 281.2 kB / 251.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.01266, allocations: 190.3 kB / 251.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.01275, allocations: 114.2 kB / 251.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.01284, allocations: 358.7 kB / 252.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.01291, allocations: 61.27 kB / 252.2 MB, free: 9.695 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.01304, allocations: 183.1 kB / 252.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.01328, allocations: 308.1 kB / 252.7 MB, free: 9.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01328, allocations: 4 kB / 252.7 MB, free: 9.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004228/0.0137, allocations: 438.7 kB / 253.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.01372, allocations: 8 kB / 253.1 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01373, allocations: 4 kB / 253.2 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.01421, allocations: 217.5 kB / 253.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.0145, allocations: 139.7 kB / 253.5 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.01644, allocations: 3.312 MB / 256.8 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.01659, allocations: 16 kB / 256.8 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.01661, allocations: 24.02 kB / 256.9 MB, free: 4.797 MB / 250.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.0001156/0.01673, allocations: 153.6 kB / 257 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.01678, allocations: 43.91 kB / 257 MB, free: 4.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.01684, allocations: 60.89 kB / 257.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01684, allocations: 4 kB / 257.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.01686, allocations: 4 kB / 257.1 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01686, allocations: 0 / 257.1 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/0.01766, allocations: 0.7284 MB / 257.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01766, allocations: 0 / 257.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.01779, allocations: 72.02 kB / 257.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.01783, allocations: 47.64 kB / 258 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.01825, allocations: 209.4 kB / 258.2 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01826, allocations: 12 kB / 258.2 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.01986, allocations: 3.185 MB / 261.4 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.01987, allocations: 4 kB / 261.4 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.02023, allocations: 454.6 kB / 261.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.02026, allocations: 12 kB / 261.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.02037, allocations: 16.09 kB / 261.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.02044, allocations: 56.28 kB / 261.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.02045, allocations: 12 kB / 261.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.195e-05/0.02054, allocations: 132.7 kB / 262 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02054, allocations: 0 / 262 MB, free: 15.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003971/0.02094, allocations: 156 kB / 262.2 MB, free: 15.2 MB / 266.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 9.879e-05/0.02104, allocations: 92.36 kB / 262.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.02157, allocations: 0.5896 MB / 262.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.02159, allocations: 15.98 kB / 262.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.02189, allocations: 470.5 kB / 263.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.02222, allocations: 243.9 kB / 263.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.02371, allocations: 0.9356 MB / 264.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.02378, allocations: 134.3 kB / 264.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.02389, allocations: 48.39 kB / 264.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.02401, allocations: 111.4 kB / 264.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02401, allocations: 0 / 264.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Templates: time 0.008011/0.03203, allocations: 6.258 MB / 271.1 MB, free: 6.238 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.509101481176913]