Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001424/0.001424, 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.001438/0.001438, 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.9096/0.9096, allocations: 177 MB / 205.9 MB, free: 4.438 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 274.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.325e-05, allocations: 3.75 kB / 274.1 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005636/0.005649, allocations: 4.904 MB / 279 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.008559, allocations: 2.074 MB / 281.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.008787, allocations: 16 kB / 281.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.01084, allocations: 1.446 MB / 282.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007798/0.01162, allocations: 425.2 kB / 283 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.01321, allocations: 1.143 MB / 284.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007199/0.01393, allocations: 0.7703 MB / 284.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000758/0.01469, allocations: 0.5714 MB / 285.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.01523, allocations: 494.9 kB / 286 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.01563, allocations: 331.1 kB / 286.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.01571, allocations: 72 kB / 286.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.01631, allocations: 399.3 kB / 286.7 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.01665, allocations: 171.3 kB / 286.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.01688, allocations: 259.3 kB / 287.2 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.0179, allocations: 0.9096 MB / 288.1 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.0179, allocations: 0 / 288.1 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.0179, allocations: 0 / 288.1 MB, free: 6.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.01791, allocations: 0 / 288.1 MB, free: 6.391 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003464/0.02137, allocations: 1.521 MB / 289.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.0214, allocations: 8.031 kB / 289.6 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.02369, allocations: 0.4959 MB / 290.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.02386, allocations: 203.6 kB / 290.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.02392, allocations: 66.31 kB / 290.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.02404, allocations: 84.33 kB / 290.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009903/0.02503, allocations: 0.6536 MB / 291.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.02506, allocations: 4.188 kB / 291.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-05/0.02513, allocations: 35.94 kB / 291.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.02515, allocations: 20 kB / 291.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.02579, allocations: 353.6 kB / 291.5 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.02909, allocations: 2.322 MB / 293.8 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000852/0.02995, allocations: 382.3 kB / 294.2 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.03014, allocations: 117.1 kB / 294.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.883e-05/0.03022, allocations: 24.48 kB / 294.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.03024, allocations: 45.83 kB / 294.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 2.365e-06/0.03025, allocations: 0 / 294.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.002683/0.03293, allocations: 1.167 MB / 295.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.03297, allocations: 81.61 kB / 295.6 MB, free: 14.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.03325, allocations: 369.8 kB / 296 MB, free: 14.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.03328, allocations: 33.7 kB / 296 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.0335, allocations: 434.5 kB / 296.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.03365, allocations: 218.2 kB / 296.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.03387, allocations: 160.2 kB / 296.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.03404, allocations: 0.5312 MB / 297.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.03422, allocations: 89.92 kB / 297.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.03463, allocations: 470.3 kB / 297.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.03527, allocations: 0.5797 MB / 298.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.03528, allocations: 4 kB / 298.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009645/0.03624, allocations: 0.5935 MB / 299.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.03626, allocations: 10.66 kB / 299.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.03627, allocations: 11.94 kB / 299.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/0.03673, allocations: 96.03 kB / 299.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.03733, allocations: 191.7 kB / 299.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.0392, allocations: 3.497 MB / 302.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.03962, allocations: 44 kB / 302.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.03967, allocations: 31.98 kB / 302.9 MB, free: 6.621 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0001925/0.03987, allocations: 216.1 kB / 303.1 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.03998, allocations: 59.77 kB / 303.2 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.0408, allocations: 445 kB / 303.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.0408, allocations: 4 kB / 303.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.04081, allocations: 4 kB / 303.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.04081, allocations: 7.984 kB / 303.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.04216, allocations: 0.8898 MB / 304.5 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.04216, allocations: 0 / 304.5 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.04261, allocations: 115.8 kB / 304.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/0.04302, allocations: 87.28 kB / 304.7 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.04305, allocations: 15.98 kB / 304.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.04488, allocations: 3.494 MB / 308.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.04488, allocations: 0 / 308.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.04579, allocations: 0.6345 MB / 308.9 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.04596, allocations: 87.62 kB / 309 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.04602, allocations: 15.94 kB / 309 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.04632, allocations: 36.06 kB / 309 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.04642, allocations: 44.41 kB / 309.1 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.04645, allocations: 12 kB / 309.1 MB, free: 148 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.04661, allocations: 226.9 kB / 309.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04661, allocations: 0 / 309.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006509/0.04726, allocations: 180 kB / 309.5 MB, free: 15.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * 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.0002151/0.04748, allocations: 167 kB / 309.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008153/0.0483, allocations: 0.7106 MB / 310.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0483, allocations: 0 / 310.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.04875, allocations: 0.52 MB / 310.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.04914, allocations: 63.64 kB / 310.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.05108, allocations: 1.084 MB / 312 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.05118, allocations: 140.6 kB / 312.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003503/0.05153, allocations: 84.42 kB / 312.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.05181, allocations: 150.2 kB / 312.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.05181, allocations: 4 kB / 312.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of Templates: time 0.009439/0.06125, allocations: 7.302 MB / 319.7 MB, free: 5.527 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/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.772136388812214]