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.0008521/0.0008521, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004206/0.004206, allocations: 163.1 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8501/0.8501, allocations: 177.1 MB / 205 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 1.242e-06/1.242e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.722e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00405/0.004067, allocations: 4.6 MB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.006587, allocations: 2.027 MB / 332.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.006845, allocations: 16 kB / 332.5 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.008341, allocations: 1.376 MB / 333.9 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006932/0.009034, allocations: 425.1 kB / 334.3 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.01049, allocations: 1.147 MB / 335.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006103/0.0111, allocations: 0.7737 MB / 336.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000636/0.01174, allocations: 0.5675 MB / 336.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.01213, allocations: 486.9 kB / 337.2 MB, free: 4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.0124, allocations: 335.1 kB / 337.6 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.01246, allocations: 68 kB / 337.6 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005067/0.01297, allocations: 399.3 kB / 338 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.01306, allocations: 163.3 kB / 338.2 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.01321, allocations: 263.3 kB / 338.4 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009459/0.01415, allocations: 1.266 MB / 339.7 MB, free: 1.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.01415, allocations: 0 / 339.7 MB, free: 1.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01416, allocations: 0 / 339.7 MB, free: 1.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.01416, allocations: 0 / 339.7 MB, free: 1.527 MB / 298.7 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.002361/0.01652, allocations: 1.402 MB / 341.1 MB, free: 92 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.01656, allocations: 12.03 kB / 341.1 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.01776, allocations: 360.1 kB / 341.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.01794, allocations: 204.8 kB / 341.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.01798, allocations: 66.38 kB / 341.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.01807, allocations: 80.38 kB / 341.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.01937, allocations: 0.9014 MB / 342.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.0194, allocations: 8.141 kB / 342.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.01945, allocations: 35.94 kB / 342.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.01946, allocations: 20 kB / 342.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.02049, allocations: 0.7886 MB / 343.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.02306, allocations: 2.312 MB / 345.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.02368, allocations: 0.5118 MB / 346.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.02395, allocations: 222.2 kB / 346.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.645e-05/0.02401, allocations: 28.48 kB / 346.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.02403, allocations: 39.06 kB / 346.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.984e-06/0.02403, allocations: 0 / 346.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003552/0.02759, allocations: 2.163 MB / 348.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.02763, allocations: 85.61 kB / 348.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.02783, allocations: 327.9 kB / 349.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.02786, allocations: 33.7 kB / 349.3 MB, free: 7.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.02823, allocations: 375.9 kB / 349.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.682e-05/0.02832, allocations: 218.1 kB / 349.9 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.02846, allocations: 146.5 kB / 350 MB, free: 6.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.02854, allocations: 350.8 kB / 350.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.02892, allocations: 269.8 kB / 350.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.0294, allocations: 0.5216 MB / 351.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008866/0.03029, allocations: 0.8088 MB / 351.9 MB, free: 4.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.03029, allocations: 4 kB / 351.9 MB, free: 4.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00108/0.03137, allocations: 0.901 MB / 352.8 MB, free: 3.859 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.03138, allocations: 8 kB / 352.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.03139, allocations: 12 kB / 352.9 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.03154, allocations: 65.67 kB / 352.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.03194, allocations: 203.7 kB / 353.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.03314, allocations: 2.612 MB / 355.7 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.03341, allocations: 67.97 kB / 355.8 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.03345, allocations: 47.91 kB / 355.8 MB, free: 0.6406 MB / 314.7 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.0001705/0.03362, allocations: 213.6 kB / 356.1 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.03367, allocations: 35.77 kB / 356.1 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.03489, allocations: 0.7257 MB / 356.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.03489, allocations: 8 kB / 356.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.03489, allocations: 4 kB / 356.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.0349, allocations: 3.984 kB / 356.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.03623, allocations: 1.209 MB / 358 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.03624, allocations: 0 / 358 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.03652, allocations: 127.8 kB / 358.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-05/0.03662, allocations: 73.59 kB / 358.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.03665, allocations: 12 kB / 358.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.03768, allocations: 2.596 MB / 360.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03768, allocations: 0 / 360.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.03898, allocations: 1.074 MB / 361.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.03909, allocations: 83.67 kB / 362 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.03912, allocations: 12 kB / 362 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.03933, allocations: 47.94 kB / 362.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.0394, allocations: 48.41 kB / 362.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.03942, allocations: 19.94 kB / 362.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.03955, allocations: 215.1 kB / 362.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03955, allocations: 4 kB / 362.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.03994, allocations: 175.9 kB / 362.5 MB, free: 9.672 MB / 330.7 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.0001927/0.04013, allocations: 159.1 kB / 362.7 MB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.04139, allocations: 0.8768 MB / 363.5 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.04139, allocations: 0 / 363.5 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004822/0.04188, allocations: 0.5235 MB / 364.1 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.04212, allocations: 40.59 kB / 364.1 MB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.04349, allocations: 1.186 MB / 365.3 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.04365, allocations: 286.7 kB / 365.6 MB, free: 6.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.0438, allocations: 64.47 kB / 365.6 MB, free: 6.43 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0438, allocations: 0 / 365.6 MB, free: 6.43 MB / 330.7 MB Notification: Performance of Templates: time 0.009576/0.05337, allocations: 13.87 MB / 379.5 MB, free: 8.566 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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.752671115100384]