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.001041/0.001041, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.002586, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001068/0.001068, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002547, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9316/0.9316, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09192/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.593e-06/1.593e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.395e-05, allocations: 14.19 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002657/0.002671, allocations: 2.874 MB / 247.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.003655, allocations: 0.7978 MB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.003753, allocations: 4 kB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.00387, allocations: 59.44 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.004029, allocations: 107.1 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.004213, allocations: 107.7 kB / 248.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.004474, allocations: 406.3 kB / 249.1 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.004611, allocations: 89.97 kB / 249.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.004895, allocations: 268 kB / 249.4 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.005026, allocations: 123.6 kB / 249.5 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.005064, allocations: 36 kB / 249.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.323e-05/0.005097, allocations: 32 kB / 249.6 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.005135, allocations: 59.75 kB / 249.6 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.005201, allocations: 99.75 kB / 249.7 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.005414, allocations: 235.1 kB / 250 MB, free: 8.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.005424, allocations: 4 kB / 250 MB, free: 8.922 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005425, allocations: 0 / 250 MB, free: 8.922 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.005435, allocations: 0 / 250 MB, free: 8.922 MB / 250.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.000655/0.00609, allocations: 0.6049 MB / 250.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.006117, allocations: 12.03 kB / 250.6 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.006179, allocations: 52.89 kB / 250.6 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.006361, allocations: 186.1 kB / 250.8 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.006388, allocations: 28.97 kB / 250.9 MB, free: 7.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.006421, allocations: 32.33 kB / 250.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.006659, allocations: 219.3 kB / 251.1 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.00667, allocations: 8.125 kB / 251.1 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.006685, allocations: 8.375 kB / 251.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.006695, allocations: 11.94 kB / 251.1 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/0.006794, allocations: 84.55 kB / 251.2 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.007618, allocations: 0.7562 MB / 252 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.007745, allocations: 78.52 kB / 252 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.007778, allocations: 28.84 kB / 252.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.007797, allocations: 4 kB / 252.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.007823, allocations: 42.45 kB / 252.1 MB, free: 6.648 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.007825, allocations: 3.938 kB / 252.1 MB, free: 6.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007588/0.008583, allocations: 399.2 kB / 252.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.008607, allocations: 51.41 kB / 252.6 MB, free: 6.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.008746, allocations: 252.8 kB / 252.8 MB, free: 5.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.008759, allocations: 29.7 kB / 252.8 MB, free: 5.887 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.008845, allocations: 219.8 kB / 253.1 MB, free: 5.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.008885, allocations: 79.33 kB / 253.1 MB, free: 5.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.008956, allocations: 65.66 kB / 253.2 MB, free: 5.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.009038, allocations: 342.8 kB / 253.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.009077, allocations: 27.98 kB / 253.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.009155, allocations: 120.2 kB / 253.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.009327, allocations: 201.8 kB / 253.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.009329, allocations: 0 / 253.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002097/0.009538, allocations: 236.8 kB / 254.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.009549, allocations: 4 kB / 254.1 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.009555, allocations: 4 kB / 254.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.009777, allocations: 73.67 kB / 254.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.009928, allocations: 83.83 kB / 254.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/0.01093, allocations: 2.369 MB / 256.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01103, allocations: 24.05 kB / 256.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01104, allocations: 12 kB / 256.7 MB, free: 1.75 MB / 250.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 7.558e-05/0.01112, allocations: 133.6 kB / 256.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.01115, allocations: 19.98 kB / 256.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.01118, allocations: 34.27 kB / 256.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01118, allocations: 4 kB / 256.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01118, allocations: 0 / 256.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01119, allocations: 3.984 kB / 256.9 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.01133, allocations: 165.7 kB / 257 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01133, allocations: 0 / 257 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/0.01141, allocations: 35.92 kB / 257.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.01143, allocations: 23.84 kB / 257.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.01159, allocations: 65.66 kB / 257.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.01159, allocations: 4 kB / 257.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.01261, allocations: 2.373 MB / 259.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01261, allocations: 0 / 259.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.01278, allocations: 248 kB / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.01279, allocations: 0 / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.01287, allocations: 15.98 kB / 259.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.01291, allocations: 15.97 kB / 259.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.01292, allocations: 12.12 kB / 259.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.01298, allocations: 82.77 kB / 259.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01298, allocations: 0 / 259.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.01318, allocations: 76 kB / 260 MB, free: 14.23 MB / 266.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 7.582e-05/0.01326, allocations: 92.33 kB / 260.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.01356, allocations: 368.9 kB / 260.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.01357, allocations: 5.219 kB / 260.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.01372, allocations: 309.9 kB / 260.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.01398, allocations: 237.3 kB / 261 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.01541, allocations: 0.5505 MB / 261.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.553e-05/0.01545, allocations: 96.59 kB / 261.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.147e-05/0.01552, allocations: 26.97 kB / 261.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.01561, allocations: 87.36 kB / 261.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01561, allocations: 0 / 261.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of Templates: time 0.004944/0.02056, allocations: 3.244 MB / 265 MB, free: 9.141 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5337732387706637]