Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.0008239/0.0008239, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003083/0.003083, allocations: 160.2 kB / 24.7 MB, free: 9.43 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.853/0.853, allocations: 177.1 MB / 205 MB, free: 5.734 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.144e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00391/0.003942, allocations: 2.66 MB / 328.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.005155, allocations: 0.7553 MB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.005304, allocations: 8 kB / 329.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.005529, allocations: 63.42 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.005809, allocations: 111.1 kB / 329.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.006, allocations: 115.7 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.006263, allocations: 402.9 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.006419, allocations: 87.14 kB / 330 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.0067, allocations: 231.5 kB / 330.2 MB, free: 11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.006825, allocations: 127.6 kB / 330.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.006864, allocations: 39.94 kB / 330.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.006891, allocations: 32 kB / 330.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.006934, allocations: 79.72 kB / 330.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.007007, allocations: 115.7 kB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.007288, allocations: 398.7 kB / 331 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00729, allocations: 0 / 331 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007291, allocations: 4 kB / 331 MB, free: 10.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.007297, allocations: 3.984 kB / 331 MB, free: 10.21 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007101/0.008007, allocations: 0.5714 MB / 331.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.00804, allocations: 11.97 kB / 331.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.008091, allocations: 36.7 kB / 331.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.008329, allocations: 222.1 kB / 331.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.008355, allocations: 25.03 kB / 331.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.008391, allocations: 28.38 kB / 331.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.008747, allocations: 294.6 kB / 332.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.008759, allocations: 192 / 332.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.008779, allocations: 12.38 kB / 332.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.008787, allocations: 11.94 kB / 332.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.009116, allocations: 246.5 kB / 332.5 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009486/0.01006, allocations: 0.8791 MB / 333.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.01029, allocations: 142.5 kB / 333.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.01038, allocations: 64.83 kB / 333.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.0104, allocations: 0 / 333.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.01042, allocations: 42.55 kB / 333.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.01043, allocations: 0 / 333.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001119/0.01154, allocations: 0.5947 MB / 334.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.01157, allocations: 55.41 kB / 334.2 MB, free: 6.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.01175, allocations: 273.7 kB / 334.5 MB, free: 6.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.01177, allocations: 29.7 kB / 334.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.01186, allocations: 228.1 kB / 334.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.0119, allocations: 79.34 kB / 334.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.01196, allocations: 61.64 kB / 334.9 MB, free: 6.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.01204, allocations: 342.8 kB / 335.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.01219, allocations: 91.94 kB / 335.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.01238, allocations: 199.4 kB / 335.5 MB, free: 5.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.01271, allocations: 306.1 kB / 335.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01271, allocations: 0 / 335.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004476/0.01315, allocations: 389 kB / 336.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01317, allocations: 12.34 kB / 336.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01317, allocations: 4 kB / 336.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.01333, allocations: 65.59 kB / 336.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.01349, allocations: 75.89 kB / 336.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.01475, allocations: 2.588 MB / 338.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01489, allocations: 23.98 kB / 339 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.0149, allocations: 12 kB / 339 MB, free: 1.754 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.844e-05/0.015, allocations: 145.8 kB / 339.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.01503, allocations: 31.81 kB / 339.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.01507, allocations: 38.2 kB / 339.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.01507, allocations: 0 / 339.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.01507, allocations: 4 kB / 339.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01508, allocations: 3.984 kB / 339.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.01525, allocations: 221.2 kB / 339.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01525, allocations: 0 / 339.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.01535, allocations: 39.91 kB / 339.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.717e-05/0.01544, allocations: 57.67 kB / 339.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01545, allocations: 7.938 kB / 339.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.01655, allocations: 2.581 MB / 342.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.01655, allocations: 3.938 kB / 342.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.01693, allocations: 367.8 kB / 342.4 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.01696, allocations: 27.8 kB / 342.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.01697, allocations: 4 kB / 342.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.01706, allocations: 20.05 kB / 342.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.01711, allocations: 23.89 kB / 342.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01712, allocations: 8 kB / 342.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.01723, allocations: 177.2 kB / 342.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01723, allocations: 0 / 342.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.01745, allocations: 76 kB / 342.8 MB, free: 13.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.564e-05/0.01754, allocations: 95.25 kB / 342.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.01804, allocations: 477 kB / 343.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01805, allocations: 4.812 kB / 343.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.01828, allocations: 341.2 kB / 343.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.0185, allocations: 28.62 kB / 343.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.01913, allocations: 0.5663 MB / 344.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.395e-05/0.01922, allocations: 164.8 kB / 344.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.01927, allocations: 24.48 kB / 344.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01928, allocations: 0 / 344.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Templates: time 0.004591/0.02387, allocations: 6.091 MB / 350.5 MB, free: 5.785 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.345956168137491]