Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009409/0.0009409, allocations: 88.33 kB / 21.44 MB, free: 3.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 151.2 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8591/0.8591, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.521e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003288/0.003323, allocations: 2.647 MB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004712, allocations: 0.7593 MB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.004878, allocations: 4 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.005098, allocations: 67.42 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.005363, allocations: 99.12 kB / 329.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.005638, allocations: 107.7 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.00598, allocations: 406.3 kB / 329.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.006175, allocations: 87.14 kB / 329.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.006567, allocations: 243.4 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.006783, allocations: 119.6 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.17e-05/0.006845, allocations: 35.98 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.786e-05/0.006893, allocations: 36 kB / 330.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.006939, allocations: 71.75 kB / 330.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.007032, allocations: 119.7 kB / 330.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.007418, allocations: 402.7 kB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.007423, allocations: 4 kB / 331 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.007426, allocations: 0 / 331 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.007432, allocations: 0 / 331 MB, free: 10.17 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.0008423/0.008275, allocations: 0.5675 MB / 331.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.008324, allocations: 23.92 kB / 331.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.008389, allocations: 36.7 kB / 331.6 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.00876, allocations: 218.1 kB / 331.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.008783, allocations: 21.03 kB / 331.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.008822, allocations: 32.38 kB / 331.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.009199, allocations: 290.6 kB / 332.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.00921, allocations: 192 / 332.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.009233, allocations: 20.36 kB / 332.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.009241, allocations: 11.94 kB / 332.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.00958, allocations: 254.4 kB / 332.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.01059, allocations: 0.8713 MB / 333.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.01083, allocations: 142.6 kB / 333.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.646e-05/0.01093, allocations: 56.83 kB / 333.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.01095, allocations: 4 kB / 333.5 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.01097, allocations: 34.56 kB / 333.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.864e-06/0.01098, allocations: 0 / 333.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.00117/0.01215, allocations: 0.6063 MB / 334.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.01218, allocations: 55.41 kB / 334.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.01236, allocations: 273.7 kB / 334.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01237, allocations: 25.7 kB / 334.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.01247, allocations: 232.1 kB / 334.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.01251, allocations: 83.34 kB / 334.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.01258, allocations: 61.64 kB / 334.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.01266, allocations: 342.8 kB / 335.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.01282, allocations: 95.88 kB / 335.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.01301, allocations: 188.2 kB / 335.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.01334, allocations: 301.2 kB / 335.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01334, allocations: 4 kB / 335.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004718/0.01381, allocations: 393.3 kB / 336.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01383, allocations: 7.938 kB / 336.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.01384, allocations: 4 kB / 336.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.01403, allocations: 65.8 kB / 336.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.0142, allocations: 75.89 kB / 336.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.0156, allocations: 2.569 MB / 338.8 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01573, allocations: 28.09 kB / 338.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.01575, allocations: 12 kB / 338.9 MB, free: 1.715 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 0.0001176/0.01587, allocations: 153.7 kB / 339 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.0159, allocations: 31.8 kB / 339.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.01595, allocations: 38.2 kB / 339.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.01595, allocations: 0 / 339.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.01596, allocations: 4 kB / 339.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01596, allocations: 0 / 339.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.01616, allocations: 233.2 kB / 339.3 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01616, allocations: 0 / 339.3 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.659e-05/0.01626, allocations: 39.91 kB / 339.4 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.01636, allocations: 53.67 kB / 339.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.01638, allocations: 7.938 kB / 339.4 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.01761, allocations: 2.573 MB / 342 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.01762, allocations: 3.938 kB / 342 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.01803, allocations: 371.9 kB / 342.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.01806, allocations: 27.8 kB / 342.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01807, allocations: 4 kB / 342.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.01816, allocations: 11.98 kB / 342.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.01822, allocations: 23.97 kB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.01822, allocations: 11.98 kB / 342.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.01834, allocations: 177.2 kB / 342.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01834, allocations: 0 / 342.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.01861, allocations: 76 kB / 342.7 MB, free: 13.63 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 0.0001072/0.01872, allocations: 103.2 kB / 342.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005557/0.01928, allocations: 477 kB / 343.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01928, allocations: 0 / 343.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.01954, allocations: 337.2 kB / 343.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.0198, allocations: 35.27 kB / 343.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.02056, allocations: 0.5593 MB / 344.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.02067, allocations: 164.8 kB / 344.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.02073, allocations: 24.5 kB / 344.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02073, allocations: 4 kB / 344.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of Templates: time 0.005665/0.02639, allocations: 6.096 MB / 350.5 MB, free: 5.734 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.637157371267676]