Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 215.5 kB / 24.48 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 51.91 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2554, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004347/0.2597, allocations: 2.668 MB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2612, allocations: 0.7516 MB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.2614, allocations: 4 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.2616, allocations: 75.36 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.2619, allocations: 106.8 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.2621, allocations: 103.8 kB / 436 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.2626, allocations: 402.4 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2628, allocations: 103.3 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.2631, allocations: 167.4 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2633, allocations: 167.2 kB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.2634, allocations: 36 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.281e-05/0.2634, allocations: 32 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.022e-05/0.2635, allocations: 87.62 kB / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2637, allocations: 155.2 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.2641, allocations: 405.3 kB / 437.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2641, allocations: 0 / 437.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2641, allocations: 0 / 437.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2641, allocations: 4 kB / 437.6 MB, free: 1.449 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.001285/0.2654, allocations: 0.5831 MB / 438.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2654, allocations: 8.031 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.2655, allocations: 36.7 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2659, allocations: 229.6 kB / 438.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.266, allocations: 25.03 kB / 438.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.266, allocations: 32.38 kB / 438.5 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.2667, allocations: 294.3 kB / 438.8 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2667, allocations: 0 / 438.8 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.2667, allocations: 12 kB / 438.8 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.2667, allocations: 12 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.2674, allocations: 258.4 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.2691, allocations: 0.8703 MB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.2695, allocations: 149.7 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.2697, allocations: 68.72 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.2697, allocations: 3.938 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2697, allocations: 42.5 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.2697, allocations: 0 / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00215/0.2719, allocations: 0.5887 MB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2719, allocations: 59.34 kB / 440.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.2722, allocations: 281.8 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2723, allocations: 29.7 kB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2724, allocations: 244 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.2725, allocations: 75.38 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2726, allocations: 69.64 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2728, allocations: 334.8 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.2731, allocations: 99.94 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.2734, allocations: 196 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.2741, allocations: 305.1 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2741, allocations: 0 / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009123/0.275, allocations: 401.4 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.275, allocations: 4 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2751, allocations: 4 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.2753, allocations: 61.67 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.2757, allocations: 75.89 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.2778, allocations: 2.58 MB / 445.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.2781, allocations: 24.11 kB / 445.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.2782, allocations: 15.94 kB / 445.6 MB, free: 8.941 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.0001961/0.2784, allocations: 157.7 kB / 445.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.2784, allocations: 35.78 kB / 445.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.2785, allocations: 30.28 kB / 445.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2785, allocations: 0 / 445.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.2785, allocations: 4 kB / 445.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2785, allocations: 3.984 kB / 445.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.2788, allocations: 225.2 kB / 446 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2788, allocations: 11.88 kB / 446 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2791, allocations: 43.91 kB / 446.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.2792, allocations: 53.67 kB / 446.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2792, allocations: 4 kB / 446.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.2813, allocations: 2.58 MB / 448.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2813, allocations: 0 / 448.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.282, allocations: 383.9 kB / 449.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.2821, allocations: 27.81 kB / 449.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.2821, allocations: 3.984 kB / 449.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.2824, allocations: 15.98 kB / 449.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.2824, allocations: 19.97 kB / 449.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.2824, allocations: 11.94 kB / 449.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.2826, allocations: 193.2 kB / 449.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2826, allocations: 0 / 449.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.283, allocations: 76 kB / 449.4 MB, free: 4.812 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.0001208/0.2832, allocations: 107.2 kB / 449.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000982/0.2841, allocations: 469.2 kB / 450 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2841, allocations: 4 kB / 450 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.2847, allocations: 342 kB / 450.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.285, allocations: 36.38 kB / 450.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2862, allocations: 0.575 MB / 450.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2864, allocations: 168.8 kB / 451.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.2865, allocations: 27.44 kB / 451.1 MB, free: 3 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2865, allocations: 0 / 451.1 MB, free: 3 MB / 350.1 MB Notification: Performance of Templates: time 0.008795/0.2953, allocations: 6.246 MB / 457.4 MB, free: 12.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.619014611991588]