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.001755/0.001755, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002076/0.002076, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001638/0.001638, allocations: 47.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1084, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004524/0.1129, allocations: 2.832 MB / 429.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1144, allocations: 0.7905 MB / 430.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.1146, allocations: 4 kB / 430.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1148, allocations: 67.42 kB / 430.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1151, allocations: 99.19 kB / 430.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1154, allocations: 115.7 kB / 430.7 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.1158, allocations: 382.6 kB / 431.1 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.214/0.3298, allocations: 91.72 kB / 431.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.3303, allocations: 167.1 kB / 431.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.3306, allocations: 168.3 kB / 431.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.3307, allocations: 33.22 kB / 431.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.3307, allocations: 32.12 kB / 431.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.3308, allocations: 76.5 kB / 431.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3309, allocations: 179.4 kB / 431.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.3314, allocations: 401.3 kB / 432.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3314, allocations: 2.062 kB / 432.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3314, allocations: 0 / 432.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3314, allocations: 0 / 432.2 MB, free: 8.027 MB / 350.1 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.00113/0.3326, allocations: 0.6458 MB / 432.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3326, allocations: 9.438 kB / 432.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.3327, allocations: 39.7 kB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.3329, allocations: 275 kB / 433.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.333, allocations: 24.19 kB / 433.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.333, allocations: 30.88 kB / 433.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.3336, allocations: 291.4 kB / 433.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3336, allocations: 4.688 kB / 433.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.3337, allocations: 12.47 kB / 433.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.3337, allocations: 7.844 kB / 433.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006325/0.3343, allocations: 251.7 kB / 433.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.3359, allocations: 1.124 MB / 434.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.3363, allocations: 139.8 kB / 435 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3365, allocations: 76.38 kB / 435.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.3366, allocations: 3.172 kB / 435.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3366, allocations: 31.59 kB / 435.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.3366, allocations: 1.219 kB / 435.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002293/0.3389, allocations: 0.596 MB / 435.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.3389, allocations: 54.47 kB / 435.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3392, allocations: 269.8 kB / 436.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3392, allocations: 29.45 kB / 436.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3393, allocations: 231.4 kB / 436.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.3394, allocations: 76.08 kB / 436.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3395, allocations: 69.88 kB / 436.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.3395, allocations: 340.8 kB / 436.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.3398, allocations: 94.75 kB / 436.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3402, allocations: 197.2 kB / 437.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.3408, allocations: 295.4 kB / 437.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3408, allocations: 0 / 437.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008988/0.3417, allocations: 393.2 kB / 437.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3417, allocations: 7.453 kB / 437.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3418, allocations: 7.188 kB / 437.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.342, allocations: 59.02 kB / 437.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.3424, allocations: 75.56 kB / 437.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3438, allocations: 2.832 MB / 440.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.3441, allocations: 34.61 kB / 440.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.3442, allocations: 12.42 kB / 440.8 MB, free: 2.648 MB / 350.1 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.0001226/0.3443, allocations: 156.8 kB / 440.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.3443, allocations: 24.2 kB / 440.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.885e-05/0.3444, allocations: 32.28 kB / 441 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3444, allocations: 2.875 kB / 441 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3444, allocations: 1.125 kB / 441 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3444, allocations: 1.406 kB / 441 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.3448, allocations: 333.7 kB / 441.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3448, allocations: 7.938 kB / 441.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.345, allocations: 39.91 kB / 441.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.3452, allocations: 53.16 kB / 441.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3452, allocations: 5.609 kB / 441.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.3469, allocations: 2.829 MB / 444.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3469, allocations: 1.125 kB / 444.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008515/0.3477, allocations: 376.2 kB / 444.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.3478, allocations: 104.5 kB / 444.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.3478, allocations: 2.844 kB / 444.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.3481, allocations: 21.58 kB / 444.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.3482, allocations: 23.39 kB / 444.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3482, allocations: 3.984 kB / 444.8 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.3484, allocations: 189 kB / 444.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3484, allocations: 0 / 444.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004195/0.3488, allocations: 74.78 kB / 445 MB, free: 14.88 MB / 366.1 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.0001517/0.349, allocations: 102.4 kB / 445.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.3501, allocations: 481.4 kB / 445.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3501, allocations: 0 / 445.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.3507, allocations: 333.4 kB / 445.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.351, allocations: 38.7 kB / 446 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3522, allocations: 0.552 MB / 446.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.3528, allocations: 0.7715 MB / 447.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.3529, allocations: 30.08 kB / 447.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.353, allocations: 20.19 kB / 447.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.353, allocations: 0.5 kB / 447.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.007834/0.3609, allocations: 2.796 MB / 450.1 MB, free: 12.98 MB / 366.1 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.792244113981724]