Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001557/0.001557, 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.001749/0.001749, allocations: 213.3 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 43.94 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.227, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004271/0.2312, allocations: 2.677 MB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2326, allocations: 0.7477 MB / 435.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2327, allocations: 4 kB / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.2329, allocations: 71.36 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.2332, allocations: 106.1 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2335, allocations: 115.8 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.2339, allocations: 402.3 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.2341, allocations: 95.34 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.2344, allocations: 167.4 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.2346, allocations: 179.2 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.2347, allocations: 32 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.939e-05/0.2347, allocations: 32 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.2348, allocations: 83.69 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2349, allocations: 147.2 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.2354, allocations: 410 kB / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2354, allocations: 0 / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2354, allocations: 0 / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.2354, allocations: 4 kB / 437.6 MB, free: 1.5 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.001274/0.2367, allocations: 0.5851 MB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2367, allocations: 8.031 kB / 438.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.2368, allocations: 40.7 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.2372, allocations: 229.6 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.2372, allocations: 25.03 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.2373, allocations: 32.38 kB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.2379, allocations: 286.4 kB / 438.8 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2379, allocations: 0 / 438.8 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.238, allocations: 16 kB / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.238, allocations: 8 kB / 438.8 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.2387, allocations: 254.4 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.2404, allocations: 0.8743 MB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.2408, allocations: 138.6 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.241, allocations: 72.72 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.241, allocations: 11.88 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2411, allocations: 30.56 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.2411, allocations: 0 / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002196/0.2433, allocations: 0.5983 MB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.2433, allocations: 51.41 kB / 440.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.2436, allocations: 285.7 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.2437, allocations: 33.7 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.2438, allocations: 236 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.2439, allocations: 79.36 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.244, allocations: 65.59 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2442, allocations: 342.8 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.2445, allocations: 103.9 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.2449, allocations: 188 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.2456, allocations: 301.1 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2456, allocations: 3.984 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009406/0.2465, allocations: 397.4 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2465, allocations: 11.94 kB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2465, allocations: 4 kB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.2468, allocations: 61.61 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.2472, allocations: 79.89 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.2494, allocations: 2.58 MB / 445.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.2498, allocations: 23.97 kB / 445.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.2498, allocations: 16 kB / 445.6 MB, free: 8.988 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.0001753/0.25, allocations: 153.8 kB / 445.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.25, allocations: 27.8 kB / 445.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.2501, allocations: 34.27 kB / 445.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2501, allocations: 4 kB / 445.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2501, allocations: 0 / 445.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2501, allocations: 0 / 445.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.2504, allocations: 225.2 kB / 446 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2504, allocations: 3.938 kB / 446 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.2507, allocations: 47.91 kB / 446 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000171/0.2509, allocations: 57.67 kB / 446.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2509, allocations: 3.938 kB / 446.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.2532, allocations: 2.58 MB / 448.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2532, allocations: 4.219 kB / 448.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.254, allocations: 376.1 kB / 449.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.254, allocations: 31.78 kB / 449.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.2541, allocations: 4 kB / 449.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2543, allocations: 15.98 kB / 449.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.2544, allocations: 23.95 kB / 449.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2544, allocations: 7.938 kB / 449.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002307/0.2546, allocations: 197.2 kB / 449.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2546, allocations: 0 / 449.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004066/0.255, allocations: 72 kB / 449.4 MB, free: 4.871 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.0001245/0.2551, allocations: 107.2 kB / 449.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.2561, allocations: 473.6 kB / 450 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2561, allocations: 0 / 450 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.2567, allocations: 333.2 kB / 450.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.257, allocations: 36.36 kB / 450.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2582, allocations: 0.5542 MB / 450.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.2584, allocations: 168.8 kB / 451.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.2585, allocations: 30.27 kB / 451.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.2586, allocations: 19.44 kB / 451.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2586, allocations: 3.938 kB / 451.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Templates: time 0.007627/0.2662, allocations: 3.28 MB / 454.4 MB, free: 15.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.334608820005087]