Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 47.92 kB / 371.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2372, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004411/0.2416, allocations: 2.655 MB / 426.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.243, allocations: 0.7088 MB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2431, allocations: 4 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.2434, allocations: 67.42 kB / 427.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.2436, allocations: 99.17 kB / 427.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.2439, allocations: 111.8 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.2444, allocations: 394.5 kB / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2446, allocations: 87.36 kB / 427.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.2448, allocations: 159.4 kB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.2451, allocations: 155.2 kB / 428.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.839e-05/0.2451, allocations: 32 kB / 428.3 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.2452, allocations: 40 kB / 428.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.2453, allocations: 83.62 kB / 428.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.2454, allocations: 143.3 kB / 428.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.2459, allocations: 411.9 kB / 428.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2459, allocations: 0 / 428.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2459, allocations: 0 / 428.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.2459, allocations: 4 kB / 428.9 MB, free: 9.34 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.001251/0.2472, allocations: 0.5909 MB / 429.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2472, allocations: 11.97 kB / 429.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.2473, allocations: 36.7 kB / 429.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.2477, allocations: 218.9 kB / 429.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.2478, allocations: 29.03 kB / 429.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.2478, allocations: 28.38 kB / 429.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.2484, allocations: 298.3 kB / 430.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2484, allocations: 0 / 430.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.2485, allocations: 12 kB / 430.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2485, allocations: 8 kB / 430.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.2491, allocations: 250.5 kB / 430.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.2508, allocations: 0.8704 MB / 431.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.2512, allocations: 148.9 kB / 431.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2514, allocations: 56.83 kB / 431.5 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.2514, allocations: 11.94 kB / 431.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.2514, allocations: 34.56 kB / 431.5 MB, free: 6.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.2514, allocations: 4 kB / 431.5 MB, free: 6.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.002102/0.2535, allocations: 0.5986 MB / 432.1 MB, free: 6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2536, allocations: 63.41 kB / 432.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.2539, allocations: 273.8 kB / 432.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2539, allocations: 33.64 kB / 432.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.2541, allocations: 228.1 kB / 432.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.2541, allocations: 79.38 kB / 432.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.2542, allocations: 65.66 kB / 432.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2544, allocations: 338.8 kB / 433.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.2547, allocations: 95.92 kB / 433.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.2551, allocations: 199.9 kB / 433.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.2557, allocations: 306.3 kB / 433.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2557, allocations: 4 kB / 433.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008809/0.2566, allocations: 393 kB / 434.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2566, allocations: 8 kB / 434.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2566, allocations: 4.406 kB / 434.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.2569, allocations: 61.67 kB / 434.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.2572, allocations: 75.83 kB / 434.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.2594, allocations: 2.577 MB / 436.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.2596, allocations: 31.91 kB / 436.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.2597, allocations: 12 kB / 436.9 MB, free: 0.8398 MB / 334.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.0001735/0.2598, allocations: 161.8 kB / 437.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.2599, allocations: 31.75 kB / 437.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.249e-05/0.26, allocations: 26.27 kB / 437.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.26, allocations: 4.141 kB / 437.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.26, allocations: 0 / 437.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.26, allocations: 3.984 kB / 437.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.2603, allocations: 229.2 kB / 437.4 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2603, allocations: 3.938 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.2605, allocations: 39.97 kB / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.2607, allocations: 61.61 kB / 437.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2607, allocations: 0 / 437.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.2628, allocations: 2.588 MB / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2628, allocations: 0 / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/0.2635, allocations: 366.7 kB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.2636, allocations: 31.8 kB / 440.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.2636, allocations: 0 / 440.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.2638, allocations: 20.05 kB / 440.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/0.2639, allocations: 27.89 kB / 440.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2639, allocations: 11.88 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.2641, allocations: 193.2 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2641, allocations: 0 / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.2645, allocations: 72 kB / 440.8 MB, free: 12.72 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.0001207/0.2646, allocations: 107.2 kB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009729/0.2656, allocations: 471.6 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2656, allocations: 0 / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.2661, allocations: 337.3 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.2665, allocations: 32.42 kB / 441.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2676, allocations: 0.5898 MB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2677, allocations: 168.8 kB / 442.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.2678, allocations: 27.44 kB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2678, allocations: 0 / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Templates: time 0.008794/0.2766, allocations: 6.144 MB / 448.6 MB, free: 4.77 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.4736166736111045]