Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 81.58 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 151.6 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 1.531 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.301e-05, allocations: 2.281 kB / 318.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005633/0.005656, allocations: 4.56 MB / 323.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.009277, allocations: 1.968 MB / 325.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.009639, allocations: 15.12 kB / 325.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.01307, allocations: 1.37 MB / 326.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.0146, allocations: 0.5665 MB / 327.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.01703, allocations: 1.007 MB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.0182, allocations: 0.7773 MB / 329.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009344/0.01913, allocations: 0.5709 MB / 329.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000674/0.0198, allocations: 485.3 kB / 330.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.02029, allocations: 329.8 kB / 330.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.0204, allocations: 68.06 kB / 330.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008343/0.02123, allocations: 385.5 kB / 331 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.02139, allocations: 169.9 kB / 331.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.02168, allocations: 256.5 kB / 331.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.02329, allocations: 1.245 MB / 332.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.02329, allocations: 7.938 kB / 332.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02329, allocations: 0 / 332.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.02331, allocations: 1 kB / 332.7 MB, free: 11.34 MB / 302.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.004668/0.02797, allocations: 1.39 MB / 334.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.02801, allocations: 9.859 kB / 334.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.03078, allocations: 386.1 kB / 334.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.03109, allocations: 203 kB / 334.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.03117, allocations: 64.47 kB / 334.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.0313, allocations: 83.5 kB / 334.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.03318, allocations: 0.9041 MB / 335.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.03321, allocations: 192 / 335.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/0.0333, allocations: 40.19 kB / 335.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.03332, allocations: 19.25 kB / 335.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.03523, allocations: 0.8004 MB / 336.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/0.03959, allocations: 2.3 MB / 338.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.04075, allocations: 0.518 MB / 339.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.04133, allocations: 218.5 kB / 339.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.971e-05/0.04141, allocations: 16.5 kB / 339.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.04145, allocations: 39.06 kB / 339.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.475e-06/0.04145, allocations: 0 / 339.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008884/0.05034, allocations: 2.206 MB / 341.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.05041, allocations: 81.61 kB / 341.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.05081, allocations: 327.8 kB / 342.3 MB, free: 4.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.05086, allocations: 37.7 kB / 342.3 MB, free: 4.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.05112, allocations: 371.9 kB / 342.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.05131, allocations: 222.1 kB / 342.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.05155, allocations: 146.6 kB / 343 MB, free: 3.266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.05172, allocations: 346.8 kB / 343.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/0.05259, allocations: 277.8 kB / 343.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.05372, allocations: 0.5302 MB / 344.2 MB, free: 2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.05574, allocations: 0.8127 MB / 345 MB, free: 1.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.05575, allocations: 4 kB / 345 MB, free: 1.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002479/0.05822, allocations: 0.9128 MB / 345.9 MB, free: 160 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.05825, allocations: 11.94 kB / 345.9 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.05827, allocations: 8 kB / 345.9 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.05854, allocations: 69.67 kB / 346 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009681/0.05951, allocations: 203.7 kB / 346.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.062, allocations: 2.604 MB / 348.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/0.06283, allocations: 72.03 kB / 348.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.0629, allocations: 39.92 kB / 348.9 MB, free: 12.94 MB / 318.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.0003531/0.06325, allocations: 217.6 kB / 349.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.06336, allocations: 39.95 kB / 349.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.06563, allocations: 0.7451 MB / 349.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.06564, allocations: 8 kB / 349.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.06565, allocations: 0 / 349.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.06565, allocations: 7.984 kB / 349.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.06867, allocations: 1.22 MB / 351.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.06868, allocations: 0 / 351.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.06944, allocations: 131.8 kB / 351.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002281/0.06967, allocations: 69.59 kB / 351.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.06972, allocations: 15.98 kB / 351.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.07201, allocations: 2.596 MB / 353.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.07201, allocations: 0 / 353.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.07509, allocations: 1.097 MB / 355 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.07534, allocations: 79.69 kB / 355.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.07543, allocations: 12 kB / 355.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.07602, allocations: 43.95 kB / 355.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.07616, allocations: 48.41 kB / 355.2 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.0762, allocations: 23.98 kB / 355.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.07646, allocations: 211.1 kB / 355.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.07646, allocations: 0 / 355.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007877/0.07725, allocations: 176.1 kB / 355.6 MB, free: 5.926 MB / 318.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.0003109/0.07756, allocations: 159 kB / 355.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.0799, allocations: 0.8913 MB / 356.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.07991, allocations: 0 / 356.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.08109, allocations: 0.5323 MB / 357.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.08153, allocations: 44.42 kB / 357.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.08451, allocations: 1.21 MB / 358.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.08485, allocations: 290.8 kB / 358.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004158/0.08527, allocations: 88.42 kB / 358.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.08546, allocations: 52.47 kB / 358.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.08546, allocations: 0 / 358.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of Templates: time 0.01415/0.09961, allocations: 6.304 MB / 365.2 MB, free: 12.37 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.529162663966417]