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.001602/0.001602, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001489/0.001489, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.566/1.566, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001583/0.001583, allocations: 51.91 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4103, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005213/0.4155, allocations: 2.657 MB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.4172, allocations: 0.7477 MB / 435.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.4174, allocations: 4 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.4177, allocations: 67.42 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.418, allocations: 102.1 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.4184, allocations: 107.8 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.4188, allocations: 394.5 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.4191, allocations: 95.33 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.4195, allocations: 171.3 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.4198, allocations: 163.3 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.4198, allocations: 39.94 kB / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.4199, allocations: 32 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.42, allocations: 75.69 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.4201, allocations: 147.3 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.4207, allocations: 398 kB / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4207, allocations: 0 / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4207, allocations: 0 / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4207, allocations: 0 / 437.5 MB, free: 1.52 MB / 334.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.001364/0.4221, allocations: 0.5753 MB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4221, allocations: 8.031 kB / 438.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.451e-05/0.4222, allocations: 40.7 kB / 438.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.4227, allocations: 222.8 kB / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.4227, allocations: 21.03 kB / 438.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.4228, allocations: 40.38 kB / 438.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.4235, allocations: 286.4 kB / 438.7 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4235, allocations: 7.938 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.4235, allocations: 11.98 kB / 438.7 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.4235, allocations: 8 kB / 438.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.4242, allocations: 246.5 kB / 438.9 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.426, allocations: 0.8743 MB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.4264, allocations: 142.5 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.4266, allocations: 68.81 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.4267, allocations: 7.875 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.4267, allocations: 38.56 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.4267, allocations: 3.938 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002167/0.4289, allocations: 0.5864 MB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4289, allocations: 55.41 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.4293, allocations: 269.8 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.4293, allocations: 33.64 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.4296, allocations: 236 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.4296, allocations: 83.31 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4298, allocations: 65.44 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.43, allocations: 338.8 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.4303, allocations: 95.94 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.4306, allocations: 192.2 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.4313, allocations: 297.1 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4313, allocations: 0 / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009008/0.4322, allocations: 393.4 kB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4322, allocations: 12 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4323, allocations: 4 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.4326, allocations: 57.67 kB / 442.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.4329, allocations: 75.89 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.4353, allocations: 2.584 MB / 445.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.4356, allocations: 19.98 kB / 445.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.4356, allocations: 16 kB / 445.4 MB, free: 9.059 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.0001949/0.4358, allocations: 153.8 kB / 445.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.4359, allocations: 35.73 kB / 445.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.436, allocations: 26.28 kB / 445.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.436, allocations: 4.141 kB / 445.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.436, allocations: 0 / 445.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.436, allocations: 11.91 kB / 445.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.4363, allocations: 225.2 kB / 445.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4363, allocations: 3.938 kB / 445.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.4365, allocations: 43.95 kB / 445.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.4367, allocations: 49.69 kB / 446 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.4367, allocations: 8 kB / 446 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.439, allocations: 2.58 MB / 448.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.439, allocations: 0 / 448.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.4398, allocations: 368.8 kB / 448.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.4399, allocations: 27.8 kB / 449 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.4399, allocations: 8 kB / 449 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.4401, allocations: 16.05 kB / 449 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.4402, allocations: 19.95 kB / 449 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4402, allocations: 11.88 kB / 449 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.4404, allocations: 185.2 kB / 449.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4404, allocations: 0 / 449.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.4408, allocations: 71.94 kB / 449.3 MB, free: 4.957 MB / 350.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.0001716/0.441, allocations: 111.2 kB / 449.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4421, allocations: 472 kB / 449.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4421, allocations: 0 / 449.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.4426, allocations: 345.2 kB / 450.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.443, allocations: 28.42 kB / 450.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4443, allocations: 0.5447 MB / 450.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.4445, allocations: 168.8 kB / 450.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.4446, allocations: 30.31 kB / 450.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.4447, allocations: 19.44 kB / 450.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4447, allocations: 0 / 450.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of Templates: time 0.00867/0.4534, allocations: 3.191 MB / 454.1 MB, free: 4 kB / 350.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/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: 9.213362454000162]