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.001738/0.001738, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.00208/0.00208, allocations: 219.5 kB / 24.49 MB, free: 3.93 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001563/0.001563, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2153, allocations: 53.37 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006633/0.2219, allocations: 4.578 MB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.2254, allocations: 2.024 MB / 439 MB, free: 112 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.2256, allocations: 16 kB / 439 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.2288, allocations: 1.306 MB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009523/0.2297, allocations: 413.4 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.232, allocations: 1.135 MB / 441.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00083/0.2328, allocations: 0.7472 MB / 442.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000894/0.2337, allocations: 0.5867 MB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.2342, allocations: 342.8 kB / 443.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005212/0.2347, allocations: 430.3 kB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.2348, allocations: 68 kB / 444 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.2355, allocations: 407.6 kB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.2356, allocations: 175.4 kB / 444.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.236, allocations: 298.6 kB / 444.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.2374, allocations: 1.225 MB / 446.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2374, allocations: 7.938 kB / 446.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2374, allocations: 0 / 446.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2374, allocations: 4 kB / 446.1 MB, free: 8.977 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.004595/0.242, allocations: 1.417 MB / 447.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.242, allocations: 8.031 kB / 447.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/0.2448, allocations: 364.1 kB / 447.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.2451, allocations: 197.6 kB / 448.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/0.2451, allocations: 62.38 kB / 448.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.2453, allocations: 84.38 kB / 448.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.2471, allocations: 0.9008 MB / 449.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.2471, allocations: 3.953 kB / 449.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-05/0.2472, allocations: 36 kB / 449.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.2473, allocations: 20 kB / 449.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.2492, allocations: 0.7886 MB / 449.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004372/0.2535, allocations: 2.293 MB / 452.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.2547, allocations: 0.5102 MB / 452.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.2552, allocations: 218.2 kB / 453 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.825e-05/0.2553, allocations: 20.48 kB / 453 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.2554, allocations: 43.05 kB / 453 MB, free: 1.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.024e-06/0.2554, allocations: 0 / 453 MB, free: 1.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007621/0.263, allocations: 2.175 MB / 455.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.263, allocations: 81.61 kB / 455.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.2634, allocations: 323.9 kB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.2634, allocations: 37.7 kB / 455.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.2637, allocations: 375.9 kB / 456 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.2639, allocations: 222.1 kB / 456.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.2642, allocations: 150.6 kB / 456.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.2643, allocations: 346.8 kB / 456.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.2651, allocations: 265.8 kB / 457 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2661, allocations: 0.5333 MB / 457.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.268, allocations: 0.8049 MB / 458.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.268, allocations: 15.94 kB / 458.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002224/0.2702, allocations: 0.8891 MB / 459.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2702, allocations: 11.98 kB / 459.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2702, allocations: 8 kB / 459.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.2705, allocations: 73.95 kB / 459.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.2714, allocations: 199.7 kB / 459.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.2737, allocations: 2.619 MB / 462.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/0.2744, allocations: 63.89 kB / 462.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.2744, allocations: 32 kB / 462.2 MB, free: 8.102 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.00029/0.2747, allocations: 221.7 kB / 462.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2748, allocations: 43.72 kB / 462.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.2769, allocations: 0.7296 MB / 463.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.2769, allocations: 3.984 kB / 463.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2769, allocations: 0 / 463.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.2771, allocations: 83.64 kB / 463.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.2772, allocations: 12 kB / 463.3 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.2777, allocations: 47.95 kB / 463.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.2778, allocations: 56.33 kB / 463.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002266/0.2801, allocations: 0.772 MB / 464.2 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002525/0.2826, allocations: 1.086 MB / 465.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007282/0.2833, allocations: 255.8 kB / 465.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.2836, allocations: 219 kB / 465.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of Backend: time 2.61e-07/0.2836, allocations: 0 / 465.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.2856, allocations: 0.8965 MB / 466.6 MB, free: 3.617 MB / 366.1 MB Notification: Performance of SimCode: time 0.001938/0.2876, allocations: 1.489 MB / 468.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of Templates: time 0.0214/0.309, allocations: 12.74 MB / 480.8 MB, free: 5.469 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 -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.796207018996938]