Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009447/0.0009447, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009168/0.0009168, allocations: 164.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9667/0.9667, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.672e-05, allocations: 6.312 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003096/0.003123, allocations: 2.864 MB / 275.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.004073, allocations: 0.7788 MB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.004193, allocations: 4 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.004381, allocations: 71.36 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.004589, allocations: 103.1 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.004775, allocations: 103.8 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.00506, allocations: 410.2 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.005224, allocations: 103.3 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.005521, allocations: 243.4 kB / 277.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.005656, allocations: 127.6 kB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.005694, allocations: 36 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.332e-05/0.005727, allocations: 32 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.00577, allocations: 79.67 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.005857, allocations: 119.7 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.006096, allocations: 266.9 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.0061, allocations: 4 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006101, allocations: 0 / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006106, allocations: 4 kB / 278.3 MB, free: 12.41 MB / 266.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.0007267/0.006833, allocations: 0.6673 MB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.00687, allocations: 19.97 kB / 279 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.006952, allocations: 60.7 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.007189, allocations: 223.9 kB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.007216, allocations: 21.03 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.007253, allocations: 32.38 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.007574, allocations: 227.3 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.007584, allocations: 192 / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.007608, allocations: 20.36 kB / 279.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.00762, allocations: 11.94 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.007812, allocations: 127.8 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009913/0.008803, allocations: 0.9135 MB / 280.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.008987, allocations: 98.23 kB / 280.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.009046, allocations: 39.67 kB / 280.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.009069, allocations: 4 kB / 280.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.0091, allocations: 37.33 kB / 280.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.009102, allocations: 3.938 kB / 280.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008256/0.009927, allocations: 427.7 kB / 281.2 MB, free: 9.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.009955, allocations: 55.41 kB / 281.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.01016, allocations: 324.1 kB / 281.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.01018, allocations: 29.7 kB / 281.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01029, allocations: 286.8 kB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.01032, allocations: 79.38 kB / 282 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.01039, allocations: 71.31 kB / 282 MB, free: 8.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01051, allocations: 0.5117 MB / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.01059, allocations: 35.97 kB / 282.6 MB, free: 7.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.01072, allocations: 183.4 kB / 282.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.01092, allocations: 236.8 kB / 283 MB, free: 7.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01092, allocations: 0 / 283 MB, free: 7.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003517/0.01127, allocations: 314.7 kB / 283.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01129, allocations: 4 kB / 283.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01129, allocations: 4 kB / 283.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.0116, allocations: 83.67 kB / 283.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01176, allocations: 71.84 kB / 283.5 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.0132, allocations: 3.539 MB / 287 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.01331, allocations: 12 kB / 287 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01333, allocations: 16 kB / 287 MB, free: 3.059 MB / 266.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 0.0001024/0.01343, allocations: 176.4 kB / 287.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.01347, allocations: 35.81 kB / 287.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.01351, allocations: 38.2 kB / 287.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01351, allocations: 4.031 kB / 287.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.01352, allocations: 4 kB / 287.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01352, allocations: 0 / 287.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.01372, allocations: 228.5 kB / 287.5 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01372, allocations: 0 / 287.5 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.0138, allocations: 35.92 kB / 287.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.01403, allocations: 75.3 kB / 287.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.01404, allocations: 11.94 kB / 287.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.01532, allocations: 3.528 MB / 291.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01533, allocations: 7.875 kB / 291.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.01559, allocations: 338.9 kB / 291.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.01561, allocations: 27.8 kB / 291.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.01563, allocations: 4 kB / 291.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.01572, allocations: 12.12 kB / 291.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.01577, allocations: 23.95 kB / 291.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.01578, allocations: 4 kB / 291.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.0159, allocations: 217.1 kB / 291.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0159, allocations: 4 kB / 291.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01615, allocations: 72 kB / 291.8 MB, free: 13.91 MB / 282.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 9.983e-05/0.01625, allocations: 107.2 kB / 292 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.01668, allocations: 0.4903 MB / 292.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01668, allocations: 0 / 292.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.01689, allocations: 419.2 kB / 292.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.01713, allocations: 32.48 kB / 292.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.01801, allocations: 0.5301 MB / 293.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.01807, allocations: 96.16 kB / 293.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.008e-05/0.01815, allocations: 30.28 kB / 293.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.0182, allocations: 24.48 kB / 293.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0182, allocations: 4 kB / 293.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of Templates: time 0.004931/0.02313, allocations: 2.898 MB / 296.5 MB, free: 9.227 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.86817320715636]