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.001141/0.001141, allocations: 84 kB / 21.43 MB, free: 3.133 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.003359/0.003359, allocations: 153.2 kB / 24.69 MB, free: 9.434 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.8571/0.8571, allocations: 173.4 MB / 201.2 MB, free: 9.418 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.493e-06/1.493e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.813e-05, allocations: 6.281 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.002728/0.002746, allocations: 3.201 MB / 322.9 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.003663, allocations: 0.8879 MB / 323.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.003796, allocations: 8 kB / 323.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.00398, allocations: 107 kB / 323.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.004223, allocations: 170.6 kB / 324.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.004444, allocations: 175.6 kB / 324.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006151/0.005059, allocations: 0.6608 MB / 324.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.005242, allocations: 122 kB / 325 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.005543, allocations: 371.2 kB / 325.4 MB, free: 136 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.005714, allocations: 195.3 kB / 325.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.005767, allocations: 52 kB / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.09e-05/0.005808, allocations: 52 kB / 325.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.005866, allocations: 127.4 kB / 325.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.005975, allocations: 199.5 kB / 326 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.006362, allocations: 0.6346 MB / 326.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006364, allocations: 0 / 326.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006365, allocations: 0 / 326.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.006371, allocations: 0 / 326.6 MB, free: 14.88 MB / 298.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.0008593/0.00723, allocations: 0.7817 MB / 327.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.007263, allocations: 15.97 kB / 327.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.00733, allocations: 60.56 kB / 327.5 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.007636, allocations: 289.3 kB / 327.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.007664, allocations: 41.67 kB / 327.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.007712, allocations: 56.38 kB / 327.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.008202, allocations: 431 kB / 328.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.008215, allocations: 192 / 328.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.008243, allocations: 23.94 kB / 328.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.008251, allocations: 12 kB / 328.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.008741, allocations: 393 kB / 328.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.0101, allocations: 1.244 MB / 329.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.01053, allocations: 312.8 kB / 330.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.01075, allocations: 161.4 kB / 330.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.01078, allocations: 8.328 kB / 330.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.0108, allocations: 34.89 kB / 330.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.734e-06/0.0108, allocations: 0 / 330.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.001753/0.01255, allocations: 1.193 MB / 331.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.01258, allocations: 59.91 kB / 331.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.01309, allocations: 393.4 kB / 332.1 MB, free: 9.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.01311, allocations: 29.7 kB / 332.1 MB, free: 9.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01323, allocations: 312.6 kB / 332.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.01331, allocations: 194.3 kB / 332.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.01341, allocations: 106.3 kB / 332.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.0135, allocations: 362.9 kB / 333.1 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.01374, allocations: 189.1 kB / 333.2 MB, free: 8.031 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.01402, allocations: 291.2 kB / 333.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.01453, allocations: 0.4924 MB / 334 MB, free: 7.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01453, allocations: 0 / 334 MB, free: 7.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007911/0.01532, allocations: 0.7405 MB / 334.8 MB, free: 6.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01534, allocations: 4 kB / 334.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01534, allocations: 4 kB / 334.8 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/0.01567, allocations: 185.5 kB / 335 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.01591, allocations: 115.8 kB / 335.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.01855, allocations: 3.969 MB / 339 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.01872, allocations: 31.97 kB / 339.1 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.01874, allocations: 27.98 kB / 339.1 MB, free: 1.887 MB / 298.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.0001347/0.01888, allocations: 184.7 kB / 339.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.01892, allocations: 43.72 kB / 339.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.01898, allocations: 64.89 kB / 339.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01898, allocations: 4 kB / 339.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.01899, allocations: 7.938 kB / 339.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.019, allocations: 3.984 kB / 339.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.02018, allocations: 1.141 MB / 340.5 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02018, allocations: 0 / 340.5 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.02032, allocations: 71.89 kB / 340.6 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.02054, allocations: 161.6 kB / 340.8 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.02056, allocations: 12 kB / 340.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.0226, allocations: 3.811 MB / 344.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02261, allocations: 4.031 kB / 344.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.02326, allocations: 0.6888 MB / 345.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.0233, allocations: 47.66 kB / 345.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.02333, allocations: 16 kB / 345.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.02346, allocations: 31.95 kB / 345.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.02352, allocations: 40.42 kB / 345.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.02354, allocations: 15.98 kB / 345.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.02371, allocations: 267.3 kB / 345.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02371, allocations: 3.938 kB / 345.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.0241, allocations: 148 kB / 345.8 MB, free: 10.84 MB / 314.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.901e-05/0.0242, allocations: 119.1 kB / 346 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.02527, allocations: 0.7579 MB / 346.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02527, allocations: 0 / 346.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.02567, allocations: 0.5049 MB / 347.2 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.02594, allocations: 45.31 kB / 347.3 MB, free: 9.352 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.02702, allocations: 0.9657 MB / 348.2 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.02717, allocations: 255 kB / 348.5 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.02725, allocations: 40.48 kB / 348.5 MB, free: 8.02 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02725, allocations: 0 / 348.5 MB, free: 8.02 MB / 314.7 MB Notification: Performance of Templates: time 0.007225/0.03448, allocations: 9.848 MB / 358.4 MB, free: 14.16 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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: 4.448379537090659]