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.0009733/0.0009733, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00101/0.00101, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.574 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.944e-06/1.944e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.782e-05, allocations: 2.312 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005132/0.00516, allocations: 2.869 MB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.007036, allocations: 0.7827 MB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.007277, allocations: 4 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.007564, allocations: 59.39 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.007994, allocations: 111.1 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.008381, allocations: 107.8 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.00891, allocations: 410.2 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.009152, allocations: 95.33 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.009702, allocations: 243.4 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.009945, allocations: 135.6 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.01001, allocations: 32 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.703e-05/0.01007, allocations: 36 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.01014, allocations: 79.67 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.01029, allocations: 119.7 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.01068, allocations: 270.9 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01069, allocations: 0 / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01069, allocations: 0 / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.0107, allocations: 0 / 278.2 MB, free: 12.08 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.001215/0.01192, allocations: 0.6712 MB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.01197, allocations: 15.98 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.01211, allocations: 68.67 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.01248, allocations: 220 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.01253, allocations: 21.03 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.01259, allocations: 36.38 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.01312, allocations: 231.3 kB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.01313, allocations: 192 / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.01317, allocations: 12.38 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.01318, allocations: 11.94 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.01351, allocations: 131.8 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.01521, allocations: 0.9096 MB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.0155, allocations: 102.2 kB / 280.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.01558, allocations: 35.67 kB / 280.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.01562, allocations: 7.938 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.01565, allocations: 33.39 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.464e-06/0.01565, allocations: 0 / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.00122/0.01687, allocations: 431.8 kB / 281.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.0169, allocations: 55.41 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01715, allocations: 324.1 kB / 281.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01717, allocations: 33.7 kB / 281.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.01729, allocations: 278.8 kB / 281.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.01734, allocations: 79.36 kB / 281.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.01742, allocations: 71.31 kB / 282 MB, free: 8.117 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.01758, allocations: 0.5117 MB / 282.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.01767, allocations: 43.97 kB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.01781, allocations: 179.4 kB / 282.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01803, allocations: 236.8 kB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01803, allocations: 0 / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003607/0.0184, allocations: 315.1 kB / 283.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01841, allocations: 8 kB / 283.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01842, allocations: 0 / 283.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/0.01875, allocations: 87.28 kB / 283.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.01892, allocations: 67.91 kB / 283.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.02055, allocations: 3.535 MB / 286.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.02067, allocations: 12.06 kB / 286.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.02069, allocations: 20 kB / 287 MB, free: 2.723 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.02079, allocations: 176.4 kB / 287.1 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.02083, allocations: 35.81 kB / 287.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.02087, allocations: 38.2 kB / 287.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.02088, allocations: 4 kB / 287.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.02088, allocations: 0 / 287.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.02088, allocations: 0 / 287.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.02108, allocations: 232.5 kB / 287.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02109, allocations: 4 kB / 287.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.02116, allocations: 27.98 kB / 287.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.02137, allocations: 83.23 kB / 287.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.02139, allocations: 11.88 kB / 287.6 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.02279, allocations: 3.524 MB / 291.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.02279, allocations: 3.938 kB / 291.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.02309, allocations: 343 kB / 291.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.02312, allocations: 27.8 kB / 291.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.02313, allocations: 4 kB / 291.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.02322, allocations: 11.98 kB / 291.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.02327, allocations: 19.97 kB / 291.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.02327, allocations: 4 kB / 291.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.0234, allocations: 217.1 kB / 291.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0234, allocations: 4 kB / 291.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.02366, allocations: 72 kB / 291.8 MB, free: 13.58 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 8.532e-05/0.02374, allocations: 103.2 kB / 291.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.02416, allocations: 0.4898 MB / 292.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02416, allocations: 0.8125 kB / 292.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.02438, allocations: 427.2 kB / 292.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.0246, allocations: 28.44 kB / 292.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008272/0.02543, allocations: 0.5327 MB / 293.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.868e-05/0.02549, allocations: 100.2 kB / 293.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.177e-05/0.02556, allocations: 26.28 kB / 293.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.02561, allocations: 24.48 kB / 293.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02561, allocations: 0 / 293.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of Templates: time 0.006134/0.03174, allocations: 2.898 MB / 296.4 MB, free: 8.898 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: 3.0100027760490775]