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.001124/0.001124, allocations: 80.62 kB / 22.21 MB, free: 2.297 MB / 18.57 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.001215/0.001215, allocations: 147.7 kB / 25.6 MB, free: 8.613 MB / 18.57 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 0.9105/0.9105, allocations: 173.4 MB / 202.2 MB, free: 8.316 MB / 186.7 MB " [Timeout remaining time 179] 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 1.392e-06/1.392e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.464e-05, allocations: 6.312 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002964/0.002979, allocations: 2.8 MB / 272 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.004106, allocations: 0.7442 MB / 272.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.004225, allocations: 4 kB / 272.8 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.004386, allocations: 68.19 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.004576, allocations: 96.66 kB / 272.9 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.004753, allocations: 109.7 kB / 273 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.005012, allocations: 410.2 kB / 273.4 MB, free: 5.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.005155, allocations: 97.45 kB / 273.5 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.005382, allocations: 239.4 kB / 273.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.005516, allocations: 131.6 kB / 273.9 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.005556, allocations: 32 kB / 273.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.194e-05/0.005588, allocations: 36 kB / 273.9 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.005634, allocations: 72.56 kB / 274 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.005714, allocations: 123.7 kB / 274.1 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.005946, allocations: 267.9 kB / 274.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005948, allocations: 0 / 274.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.005949, allocations: 0 / 274.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.005953, allocations: 0.9062 kB / 274.4 MB, free: 4.578 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.0006817/0.006635, allocations: 0.6756 MB / 275.1 MB, free: 3.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.006663, allocations: 8.031 kB / 275.1 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.006727, allocations: 60.7 kB / 275.1 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.006919, allocations: 220.9 kB / 275.4 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.006945, allocations: 25.03 kB / 275.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.006978, allocations: 32.38 kB / 275.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.007225, allocations: 215.3 kB / 275.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007235, allocations: 4.172 kB / 275.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.007254, allocations: 12.38 kB / 275.6 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.007264, allocations: 11.94 kB / 275.7 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.007387, allocations: 100.5 kB / 275.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008833/0.008271, allocations: 0.9172 MB / 276.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.008409, allocations: 101.9 kB / 276.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.008446, allocations: 27.67 kB / 276.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.008461, allocations: 4 kB / 276.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.008481, allocations: 41.39 kB / 276.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.008482, allocations: 0 / 276.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006723/0.009154, allocations: 372.2 kB / 277.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.009176, allocations: 51.41 kB / 277.3 MB, free: 1.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.009341, allocations: 320 kB / 277.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.009355, allocations: 29.7 kB / 277.6 MB, free: 1.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.009459, allocations: 282.8 kB / 277.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.009495, allocations: 75.38 kB / 277.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.009563, allocations: 75.2 kB / 278 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.009681, allocations: 0.5195 MB / 278.5 MB, free: 216 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.009727, allocations: 35.75 kB / 278.6 MB, free: 180 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.009841, allocations: 175.6 kB / 278.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.01, allocations: 222.7 kB / 279 MB, free: 15.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01001, allocations: 0 / 279 MB, free: 15.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002804/0.01029, allocations: 283.1 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.0103, allocations: 10.34 kB / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.0103, allocations: 0 / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.01056, allocations: 83.3 kB / 279.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.01096, allocations: 67.91 kB / 279.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.0122, allocations: 3.491 MB / 282.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01231, allocations: 24.02 kB / 282.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.01233, allocations: 12 kB / 282.9 MB, free: 11.46 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 9.206e-05/0.01242, allocations: 172.5 kB / 283.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.01246, allocations: 35.84 kB / 283.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.01249, allocations: 30.28 kB / 283.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01249, allocations: 0 / 283.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.0125, allocations: 7.938 kB / 283.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.0125, allocations: 3.984 kB / 283.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01266, allocations: 189.1 kB / 283.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01266, allocations: 0 / 283.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/0.01274, allocations: 31.92 kB / 283.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/0.01295, allocations: 79.3 kB / 283.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01296, allocations: 4 kB / 283.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.01435, allocations: 3.482 MB / 286.9 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01435, allocations: 4.062 kB / 286.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.01457, allocations: 330.9 kB / 287.3 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.0146, allocations: 23.84 kB / 287.3 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.01461, allocations: 4 kB / 287.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.0147, allocations: 7.938 kB / 287.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.01473, allocations: 23.95 kB / 287.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.01474, allocations: 8 kB / 287.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.8e-05/0.01483, allocations: 205.1 kB / 287.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01483, allocations: 0 / 287.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.01507, allocations: 75.94 kB / 287.6 MB, free: 6.461 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 6.907e-05/0.01514, allocations: 107.2 kB / 287.7 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.01548, allocations: 493.9 kB / 288.2 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01548, allocations: 0 / 288.2 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.01567, allocations: 411.4 kB / 288.6 MB, free: 5.387 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01589, allocations: 28.62 kB / 288.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.01657, allocations: 0.5143 MB / 289.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.989e-05/0.01662, allocations: 92.31 kB / 289.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.426e-05/0.01669, allocations: 26.28 kB / 289.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.01678, allocations: 106.2 kB / 289.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01678, allocations: 0 / 289.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of Templates: time 0.004837/0.02162, allocations: 3.158 MB / 292.5 MB, free: 1.477 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7581102889962494]