Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001878/0.001878, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00221/0.00221, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.211, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006449/0.2175, allocations: 4.589 MB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.2209, allocations: 2.02 MB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.2211, allocations: 16 kB / 439 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003169/0.2243, allocations: 1.303 MB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009362/0.2252, allocations: 413.4 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.2275, allocations: 1.132 MB / 441.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008331/0.2284, allocations: 0.7472 MB / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008898/0.2293, allocations: 0.586 MB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.2297, allocations: 342.8 kB / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.2302, allocations: 430.3 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.967e-05/0.2303, allocations: 68 kB / 444 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007068/0.231, allocations: 411.6 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.2312, allocations: 167.4 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.2315, allocations: 310.6 kB / 444.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.2329, allocations: 1.23 MB / 446.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2329, allocations: 0 / 446.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2329, allocations: 0 / 446.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.2329, allocations: 0 / 446.1 MB, free: 8.938 MB / 350.1 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.004631/0.2375, allocations: 1.413 MB / 447.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2375, allocations: 8.031 kB / 447.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/0.2404, allocations: 368.1 kB / 447.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.2406, allocations: 197.6 kB / 448 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.2407, allocations: 62.38 kB / 448.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2408, allocations: 84.38 kB / 448.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.2426, allocations: 0.9047 MB / 449.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.2427, allocations: 7.953 kB / 449.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.574e-05/0.2428, allocations: 36 kB / 449.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.2428, allocations: 20 kB / 449.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.2447, allocations: 0.7769 MB / 449.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.249, allocations: 2.305 MB / 452.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.2501, allocations: 0.5023 MB / 452.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.2507, allocations: 218.2 kB / 452.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.2507, allocations: 32.47 kB / 453 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.2508, allocations: 35.06 kB / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.234e-06/0.2508, allocations: 0 / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007604/0.2584, allocations: 2.175 MB / 455.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.2584, allocations: 89.55 kB / 455.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.2588, allocations: 319.9 kB / 455.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.2589, allocations: 37.7 kB / 455.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.2591, allocations: 375.8 kB / 456 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.2593, allocations: 222.1 kB / 456.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.2595, allocations: 142.6 kB / 456.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2597, allocations: 346.8 kB / 456.7 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007651/0.2605, allocations: 277.8 kB / 457 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009942/0.2615, allocations: 0.5255 MB / 457.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.2632, allocations: 0.8126 MB / 458.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2632, allocations: 4 kB / 458.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002134/0.2654, allocations: 0.8972 MB / 459.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2654, allocations: 8 kB / 459.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.2654, allocations: 12 kB / 459.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.2656, allocations: 69.61 kB / 459.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/0.2666, allocations: 199.7 kB / 459.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.2687, allocations: 2.619 MB / 462.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.2694, allocations: 64.03 kB / 462.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.2695, allocations: 39.98 kB / 462.2 MB, free: 8.051 MB / 366.1 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.000301/0.2698, allocations: 217.5 kB / 462.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2699, allocations: 39.72 kB / 462.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.272, allocations: 0.7258 MB / 463.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.272, allocations: 11.94 kB / 463.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.272, allocations: 4 kB / 463.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.272, allocations: 3.984 kB / 463.2 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.2747, allocations: 1.216 MB / 464.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2747, allocations: 0 / 464.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.2754, allocations: 123.8 kB / 464.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.2756, allocations: 65.66 kB / 464.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.2756, allocations: 15.98 kB / 464.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.2777, allocations: 2.596 MB / 467.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2777, allocations: 0 / 467.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.2804, allocations: 1.078 MB / 468.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.2806, allocations: 87.67 kB / 468.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.2807, allocations: 12 kB / 468.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/0.2812, allocations: 43.95 kB / 468.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.2813, allocations: 48.34 kB / 468.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.2814, allocations: 19.98 kB / 468.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.2816, allocations: 211.1 kB / 468.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2816, allocations: 4.062 kB / 468.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006847/0.2823, allocations: 183.9 kB / 468.9 MB, free: 1.07 MB / 366.1 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.0002636/0.2826, allocations: 155.1 kB / 469 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.2845, allocations: 0.8807 MB / 469.9 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2845, allocations: 0 / 469.9 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.2856, allocations: 0.5234 MB / 470.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.2861, allocations: 42.28 kB / 470.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2887, allocations: 1.212 MB / 471.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.289, allocations: 286.7 kB / 472 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000378/0.2894, allocations: 84.39 kB / 472 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.2896, allocations: 47.42 kB / 472.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2896, allocations: 4 kB / 472.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01442/0.304, allocations: 7.426 MB / 479.5 MB, free: 6.422 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.549210712997592]