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.001807/0.001807, allocations: 106.1 kB / 19.8 MB, free: 2.496 MB / 14.72 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.002247/0.002247, allocations: 217.4 kB / 22.99 MB, free: 5.586 MB / 14.72 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.437/1.437, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001893/0.001893, allocations: 63.88 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2479, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004265/0.2521, allocations: 2.877 MB / 432.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2535, allocations: 0.8022 MB / 433.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.2536, allocations: 7.938 kB / 433.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2538, allocations: 63.38 kB / 433.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.2541, allocations: 111.2 kB / 433.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.2544, allocations: 103.8 kB / 433.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.2548, allocations: 402.4 kB / 434.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.255, allocations: 98.92 kB / 434.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.2553, allocations: 159.4 kB / 434.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2555, allocations: 179.2 kB / 434.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.2556, allocations: 32 kB / 434.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.027e-05/0.2556, allocations: 32 kB / 434.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.2557, allocations: 83.69 kB / 434.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.2559, allocations: 183 kB / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.2564, allocations: 407.5 kB / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2564, allocations: 0 / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2564, allocations: 4 kB / 435.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.2564, allocations: 0 / 435.3 MB, free: 2.004 MB / 334.1 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.001221/0.2576, allocations: 0.6584 MB / 436 MB, free: 1.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2576, allocations: 8.031 kB / 436 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.2577, allocations: 40.7 kB / 436 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.258, allocations: 287.5 kB / 436.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.2581, allocations: 29.03 kB / 436.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.2581, allocations: 32.38 kB / 436.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.2588, allocations: 290.4 kB / 436.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2588, allocations: 0 / 436.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.2588, allocations: 12 kB / 436.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2588, allocations: 7.938 kB / 436.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.2594, allocations: 258.5 kB / 436.9 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.2612, allocations: 1.116 MB / 438 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.2616, allocations: 150.5 kB / 438.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.2618, allocations: 64.73 kB / 438.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.2618, allocations: 0 / 438.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2619, allocations: 34.56 kB / 438.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.2619, allocations: 4 kB / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002086/0.264, allocations: 0.5973 MB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.264, allocations: 55.41 kB / 438.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.2643, allocations: 290.9 kB / 439.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.2643, allocations: 25.7 kB / 439.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2645, allocations: 240.1 kB / 439.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.2646, allocations: 71.34 kB / 439.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.2647, allocations: 65.69 kB / 439.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2648, allocations: 334.8 kB / 439.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.2651, allocations: 103.8 kB / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.2655, allocations: 196 kB / 440.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.2662, allocations: 305.1 kB / 440.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2662, allocations: 0 / 440.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008797/0.267, allocations: 397.4 kB / 440.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2671, allocations: 11.98 kB / 440.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2671, allocations: 0 / 440.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.2673, allocations: 65.66 kB / 441 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2676, allocations: 71.89 kB / 441 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.2699, allocations: 2.841 MB / 443.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.2702, allocations: 19.98 kB / 443.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.2702, allocations: 16 kB / 443.9 MB, free: 8.727 MB / 350.1 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.0001641/0.2704, allocations: 157.7 kB / 444.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.2705, allocations: 31.8 kB / 444.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.2705, allocations: 30.22 kB / 444.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2705, allocations: 0 / 444.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.2705, allocations: 8.125 kB / 444.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2705, allocations: 3.984 kB / 444.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.2709, allocations: 333.4 kB / 444.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2709, allocations: 0 / 444.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.2712, allocations: 39.91 kB / 444.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/0.2713, allocations: 61.67 kB / 444.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2713, allocations: 4 kB / 444.6 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.2735, allocations: 2.834 MB / 447.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2735, allocations: 0 / 447.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/0.2743, allocations: 376.8 kB / 447.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.2743, allocations: 104.8 kB / 447.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.2744, allocations: 11.98 kB / 447.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.2746, allocations: 15.98 kB / 447.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.2746, allocations: 19.97 kB / 447.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.2747, allocations: 8 kB / 447.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.2749, allocations: 198 kB / 448.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2749, allocations: 4 kB / 448.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.2752, allocations: 72 kB / 448.2 MB, free: 4.055 MB / 350.1 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 0.0001217/0.2754, allocations: 103.2 kB / 448.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009289/0.2763, allocations: 481.7 kB / 448.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2763, allocations: 0 / 448.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.2768, allocations: 333.4 kB / 449.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.2771, allocations: 36.23 kB / 449.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.2782, allocations: 0.5792 MB / 449.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.2786, allocations: 0.7714 MB / 450.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.2788, allocations: 30.31 kB / 450.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.2788, allocations: 19.44 kB / 450.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2788, allocations: 0 / 450.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Templates: time 0.006934/0.2858, allocations: 2.957 MB / 453.5 MB, free: 14.7 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.455274129286408]