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.0007769/0.0007769, allocations: 72.19 kB / 9.929 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001786, allocations: 453.6 kB / 10.37 MB, free: 324 kB / 10.45 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.0007104/0.0007104, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008721/0.001583, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9224/0.9224, allocations: 177.1 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08013/1.003, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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 3.196e-06/3.196e-06, allocations: 4 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.771e-05, allocations: 6.25 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004265/0.004293, allocations: 4.984 MB / 249.5 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.006826, allocations: 2.182 MB / 251.7 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.007063, allocations: 16 kB / 251.7 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.008527, allocations: 1.481 MB / 253.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007002/0.009227, allocations: 429.1 kB / 253.6 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.01043, allocations: 1.144 MB / 254.8 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.01104, allocations: 0.7703 MB / 255.5 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/0.01164, allocations: 0.5773 MB / 256.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.0121, allocations: 0.4998 MB / 256.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.0124, allocations: 343.1 kB / 256.9 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.01247, allocations: 68 kB / 257 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006432/0.01311, allocations: 415.3 kB / 257.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.01319, allocations: 119.6 kB / 257.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.01336, allocations: 215.5 kB / 257.7 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009881/0.01435, allocations: 0.8215 MB / 258.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.01436, allocations: 8 kB / 258.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01436, allocations: 0 / 258.6 MB, free: 200 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.01438, allocations: 0 / 258.6 MB, free: 200 kB / 250.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.002439/0.01682, allocations: 1.686 MB / 260.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.01685, allocations: 8.031 kB / 260.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.0182, allocations: 0.5236 MB / 260.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.01837, allocations: 204.7 kB / 261 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.01843, allocations: 66.38 kB / 261 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.01852, allocations: 80.38 kB / 261.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.01915, allocations: 0.6402 MB / 261.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.01917, allocations: 192 / 261.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.01921, allocations: 35.94 kB / 261.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.01923, allocations: 20 kB / 261.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.01958, allocations: 293.8 kB / 262.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.0217, allocations: 1.91 MB / 264 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.02207, allocations: 342.5 kB / 264.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.02218, allocations: 98.3 kB / 264.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.02225, allocations: 28.48 kB / 264.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.02228, allocations: 39.06 kB / 264.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.195e-06/0.02228, allocations: 3.938 kB / 264.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0008678/0.02315, allocations: 0.5678 MB / 265.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.02318, allocations: 59.91 kB / 265.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.02334, allocations: 298.6 kB / 265.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.02337, allocations: 37.7 kB / 265.5 MB, free: 9.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.0235, allocations: 363.8 kB / 265.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.02359, allocations: 210.2 kB / 266 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.02371, allocations: 134.6 kB / 266.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.0238, allocations: 354.7 kB / 266.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.02388, allocations: 73.97 kB / 266.6 MB, free: 7.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.02407, allocations: 349.3 kB / 266.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.0244, allocations: 471.3 kB / 267.4 MB, free: 6.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.0244, allocations: 0 / 267.4 MB, free: 6.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004178/0.02482, allocations: 467.1 kB / 267.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.02484, allocations: 8 kB / 267.8 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.02485, allocations: 8 kB / 267.9 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000291/0.02514, allocations: 93.59 kB / 267.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.02547, allocations: 183.7 kB / 268.1 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.02649, allocations: 2.396 MB / 270.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.02672, allocations: 87.39 kB / 270.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.02675, allocations: 24 kB / 270.6 MB, free: 3.434 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * 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.0001251/0.02687, allocations: 157.6 kB / 270.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.02692, allocations: 51.89 kB / 270.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.0273, allocations: 344.4 kB / 271.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.02731, allocations: 16 kB / 271.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.02731, allocations: 0 / 271.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.02732, allocations: 7.922 kB / 271.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.02799, allocations: 0.651 MB / 271.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02799, allocations: 0 / 271.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.02823, allocations: 119.8 kB / 272 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.02833, allocations: 63.55 kB / 272 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.02856, allocations: 77.62 kB / 272.1 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.02858, allocations: 12 kB / 272.1 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009103/0.02949, allocations: 2.373 MB / 274.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02949, allocations: 0 / 274.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.0299, allocations: 484.3 kB / 275 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.02993, allocations: 12.09 kB / 275 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.03007, allocations: 23.98 kB / 275 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.03014, allocations: 44.42 kB / 275 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.03015, allocations: 15.98 kB / 275.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.486e-05/0.03024, allocations: 104.6 kB / 275.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03024, allocations: 0 / 275.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000497/0.03074, allocations: 219.5 kB / 275.4 MB, free: 14.44 MB / 282.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 (55): * Single equations (assignments): 53 * 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.0001991/0.03093, allocations: 148.2 kB / 275.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.03143, allocations: 0.5493 MB / 276.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.03145, allocations: 12.48 kB / 276.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.03168, allocations: 387.4 kB / 276.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.03191, allocations: 99.61 kB / 276.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.03708, allocations: 1.121 MB / 277.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.692e-05/0.03717, allocations: 136.1 kB / 277.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000219/0.03738, allocations: 84.34 kB / 277.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.03755, allocations: 127.3 kB / 278 MB, free: 11.69 MB / 282.7 MB Notification: Performance of SimCode: time 1.452e-06/0.03755, allocations: 0 / 278 MB, free: 11.69 MB / 282.7 MB Notification: Performance of Templates: time 0.009449/0.047, allocations: 6.608 MB / 284.6 MB, free: 5.16 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6170164085924625]