Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.0007289/0.0007289, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.00176, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006354/0.0006354, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009434/0.001579, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8982/0.8982, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1391/1.037, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] 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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.988e-05, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004422/0.004442, allocations: 4.948 MB / 244.7 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.006418, allocations: 2.1 MB / 246.8 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.006582, allocations: 16 kB / 246.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.007932, allocations: 1.473 MB / 248.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006608/0.008593, allocations: 0.5658 MB / 248.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.009585, allocations: 1.014 MB / 249.9 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005175/0.0101, allocations: 0.7703 MB / 250.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005431/0.01065, allocations: 0.5661 MB / 251.2 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.01103, allocations: 0.5036 MB / 251.7 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.01131, allocations: 335.1 kB / 252 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.01138, allocations: 69.59 kB / 252.1 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.01183, allocations: 387.4 kB / 252.5 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.01191, allocations: 123.6 kB / 252.6 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.01205, allocations: 203.6 kB / 252.8 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.0127, allocations: 0.8096 MB / 253.6 MB, free: 8.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.01271, allocations: 0 / 253.6 MB, free: 8.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01271, allocations: 0 / 253.6 MB, free: 8.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.01273, allocations: 0 / 253.6 MB, free: 8.48 MB / 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.002257/0.01498, allocations: 1.667 MB / 255.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.01501, allocations: 8.031 kB / 255.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.01638, allocations: 0.5392 MB / 255.8 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.01651, allocations: 193.5 kB / 256 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.01656, allocations: 62.38 kB / 256.1 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.114e-05/0.01664, allocations: 80.38 kB / 256.1 MB, free: 5.863 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.01724, allocations: 0.6402 MB / 256.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.01726, allocations: 192 / 256.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.01731, allocations: 44.3 kB / 256.8 MB, free: 5.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.01732, allocations: 23.94 kB / 256.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.01767, allocations: 289.8 kB / 257.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.01962, allocations: 1.898 MB / 259 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.01998, allocations: 358.9 kB / 259.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-05/0.02007, allocations: 102.2 kB / 259.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.02012, allocations: 16.5 kB / 259.5 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.02014, allocations: 43.05 kB / 259.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 1.503e-06/0.02015, allocations: 0 / 259.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=58): time 0.001378/0.02152, allocations: 0.8213 MB / 260.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.02155, allocations: 59.91 kB / 260.4 MB, free: 1.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.02169, allocations: 290.6 kB / 260.7 MB, free: 1.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.02172, allocations: 37.7 kB / 260.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.02184, allocations: 371.8 kB / 261.1 MB, free: 0.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.02195, allocations: 202.2 kB / 261.3 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.02207, allocations: 134.5 kB / 261.4 MB, free: 380 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.02215, allocations: 358.7 kB / 261.8 MB, free: 12 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.02225, allocations: 77.95 kB / 261.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.02245, allocations: 341.4 kB / 262.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.02279, allocations: 495.3 kB / 262.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.02279, allocations: 0 / 262.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004166/0.02321, allocations: 459.1 kB / 263.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.02322, allocations: 8 kB / 263.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.02323, allocations: 15.98 kB / 263.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.02347, allocations: 77.59 kB / 263.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.02382, allocations: 195.7 kB / 263.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009729/0.02479, allocations: 2.388 MB / 265.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.02501, allocations: 91.45 kB / 265.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.02504, allocations: 27.98 kB / 265.9 MB, free: 11.48 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.0001237/0.02516, allocations: 157.6 kB / 266.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.02521, allocations: 35.97 kB / 266.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.02558, allocations: 356.2 kB / 266.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.02559, allocations: 8 kB / 266.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.02559, allocations: 0 / 266.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02559, allocations: 7.969 kB / 266.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.02623, allocations: 0.6548 MB / 267.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.02624, allocations: 11.98 kB / 267.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.02649, allocations: 115.8 kB / 267.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.02657, allocations: 55.62 kB / 267.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.02675, allocations: 69.64 kB / 267.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.02676, allocations: 8 kB / 267.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/0.02766, allocations: 2.376 MB / 269.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02766, allocations: 4.062 kB / 269.8 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.02806, allocations: 476.4 kB / 270.2 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.02809, allocations: 12 kB / 270.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.02824, allocations: 19.98 kB / 270.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.02829, allocations: 44.36 kB / 270.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.02831, allocations: 8 kB / 270.3 MB, free: 6.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.482e-05/0.02838, allocations: 100.6 kB / 270.4 MB, free: 6.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02838, allocations: 0 / 270.4 MB, free: 6.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.02871, allocations: 219.5 kB / 270.6 MB, free: 6.523 MB / 266.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.000154/0.02887, allocations: 152.4 kB / 270.8 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.02932, allocations: 0.5599 MB / 271.3 MB, free: 5.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/0.02933, allocations: 16.7 kB / 271.3 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.0296, allocations: 422.8 kB / 271.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.02989, allocations: 314 kB / 272.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.03514, allocations: 1.183 MB / 273.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.596e-05/0.03523, allocations: 140.1 kB / 273.4 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.03543, allocations: 84.38 kB / 273.5 MB, free: 3.508 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.03561, allocations: 127.3 kB / 273.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.03561, allocations: 0 / 273.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of Templates: time 0.008908/0.04452, allocations: 6.398 MB / 280 MB, free: 13.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5307079134508967]