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.0008487/0.0008487, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.0009131/0.0009131, allocations: 166.2 kB / 25.61 MB, free: 8.578 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.965/0.965, allocations: 177 MB / 205.9 MB, free: 4.445 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 2.014e-06/2.014e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.754e-05, allocations: 6.141 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00357/0.003597, allocations: 2.836 MB / 276.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.004871, allocations: 0.7797 MB / 277.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.005054, allocations: 4 kB / 277.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.00524, allocations: 59.44 kB / 277.8 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.005488, allocations: 113.1 kB / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.00571, allocations: 104.4 kB / 278 MB, free: 404 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.00604, allocations: 422.2 kB / 278.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.006201, allocations: 91.33 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.006528, allocations: 239.5 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.006674, allocations: 127.6 kB / 278.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.006714, allocations: 36 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.383e-05/0.006748, allocations: 32 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.006798, allocations: 83.67 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.006886, allocations: 123.7 kB / 279.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.007131, allocations: 266.9 kB / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.007134, allocations: 0 / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007135, allocations: 0 / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.007139, allocations: 4 kB / 279.4 MB, free: 15 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.0007058/0.007845, allocations: 0.6673 MB / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.007879, allocations: 8.031 kB / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.894e-05/0.007958, allocations: 72.66 kB / 280.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.008167, allocations: 224 kB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.008194, allocations: 21.03 kB / 280.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.00823, allocations: 36.33 kB / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.00849, allocations: 203.3 kB / 280.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.0085, allocations: 192 / 280.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.008519, allocations: 16.38 kB / 280.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.00853, allocations: 11.94 kB / 280.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.008655, allocations: 100.4 kB / 280.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.009592, allocations: 0.9134 MB / 281.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.009747, allocations: 95.08 kB / 281.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.009785, allocations: 31.67 kB / 281.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.009807, allocations: 4 kB / 281.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.009828, allocations: 41.33 kB / 281.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.00983, allocations: 0 / 281.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007101/0.01054, allocations: 374.8 kB / 282.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.01056, allocations: 55.39 kB / 282.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.01074, allocations: 324 kB / 282.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.01075, allocations: 29.7 kB / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01087, allocations: 286.8 kB / 282.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.01091, allocations: 79.31 kB / 282.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.01098, allocations: 71.28 kB / 283 MB, free: 11.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.0111, allocations: 0.5195 MB / 283.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.01115, allocations: 27.97 kB / 283.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.01126, allocations: 171.3 kB / 283.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.01143, allocations: 226.4 kB / 284 MB, free: 10.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01143, allocations: 4 kB / 284 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002914/0.01173, allocations: 286.7 kB / 284.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01174, allocations: 4 kB / 284.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01174, allocations: 4 kB / 284.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/0.01202, allocations: 83.7 kB / 284.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01218, allocations: 75.83 kB / 284.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.01354, allocations: 3.474 MB / 287.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.01366, allocations: 12 kB / 287.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.01367, allocations: 12 kB / 287.9 MB, free: 5.883 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.0001039/0.01378, allocations: 184.4 kB / 288.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.01382, allocations: 35.81 kB / 288.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.01385, allocations: 34.41 kB / 288.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01386, allocations: 8.016 kB / 288.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.01386, allocations: 3.938 kB / 288.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01387, allocations: 4 kB / 288.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.01403, allocations: 181.1 kB / 288.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01403, allocations: 0 / 288.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.01411, allocations: 35.91 kB / 288.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.01433, allocations: 75.31 kB / 288.4 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01434, allocations: 11.98 kB / 288.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.01555, allocations: 3.478 MB / 291.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01555, allocations: 0 / 291.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01579, allocations: 330.2 kB / 292.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.01581, allocations: 23.84 kB / 292.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.01583, allocations: 4 kB / 292.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.01592, allocations: 15.94 kB / 292.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.01596, allocations: 15.95 kB / 292.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.01597, allocations: 8 kB / 292.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.658e-05/0.01606, allocations: 213.1 kB / 292.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01606, allocations: 0 / 292.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.01631, allocations: 72 kB / 292.6 MB, free: 0.875 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 9.411e-05/0.01641, allocations: 111.1 kB / 292.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.01677, allocations: 494.8 kB / 293.2 MB, free: 244 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01677, allocations: 0 / 293.2 MB, free: 244 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.01697, allocations: 407.2 kB / 293.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.0172, allocations: 28.48 kB / 293.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.01798, allocations: 0.535 MB / 294.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.95e-05/0.01804, allocations: 92.3 kB / 294.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.01812, allocations: 26.28 kB / 294.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.01821, allocations: 106.2 kB / 294.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01821, allocations: 4 kB / 294.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of Templates: time 0.005264/0.02348, allocations: 3.176 MB / 297.6 MB, free: 11.88 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.7059822687879205]