Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001086/0.001086, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001651/0.002737, allocations: 449.8 kB / 10.44 MB, free: 252 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.001079/0.001079, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002603, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.948/0.948, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08433/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.76e-05, allocations: 5.688 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004269/0.004286, allocations: 4.962 MB / 249.7 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.007739, allocations: 2.171 MB / 251.8 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.008129, allocations: 16 kB / 251.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.009891, allocations: 1.485 MB / 253.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.0109, allocations: 421.1 kB / 253.8 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.01238, allocations: 1.148 MB / 254.9 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000814/0.0132, allocations: 0.7626 MB / 255.7 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.01385, allocations: 0.5811 MB / 256.2 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.01428, allocations: 0.4989 MB / 256.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.01457, allocations: 331.1 kB / 257.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.01464, allocations: 64 kB / 257.1 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.01531, allocations: 415.3 kB / 257.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.01539, allocations: 123.6 kB / 257.7 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.01553, allocations: 207.6 kB / 257.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007386/0.01627, allocations: 0.8174 MB / 258.7 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.01628, allocations: 0 / 258.7 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01628, allocations: 0 / 258.7 MB, free: 188 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.01629, allocations: 0 / 258.7 MB, free: 188 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.002383/0.01868, allocations: 1.682 MB / 260.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.01871, allocations: 8.031 kB / 260.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.02015, allocations: 0.5196 MB / 260.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.02031, allocations: 193.5 kB / 261.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.02036, allocations: 66.38 kB / 261.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.973e-05/0.02045, allocations: 84.38 kB / 261.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.02108, allocations: 0.6363 MB / 261.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.0211, allocations: 8.078 kB / 261.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.02114, allocations: 36.38 kB / 261.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.02116, allocations: 23.94 kB / 261.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.02154, allocations: 293.8 kB / 262.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.02378, allocations: 1.902 MB / 264.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.02417, allocations: 347.3 kB / 264.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.02427, allocations: 98.3 kB / 264.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.05e-05/0.02434, allocations: 28.48 kB / 264.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.02436, allocations: 39.06 kB / 264.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.214e-06/0.02437, allocations: 0 / 264.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.001988/0.02635, allocations: 1.02 MB / 265.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.02638, allocations: 59.91 kB / 265.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.02655, allocations: 286.6 kB / 266 MB, free: 8.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.02658, allocations: 33.7 kB / 266 MB, free: 8.586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.02673, allocations: 379.8 kB / 266.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.02682, allocations: 210.1 kB / 266.6 MB, free: 8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02695, allocations: 142.5 kB / 266.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.02706, allocations: 350.7 kB / 267.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.02715, allocations: 73.95 kB / 267.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.02736, allocations: 341.4 kB / 267.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.02772, allocations: 499.3 kB / 268 MB, free: 6.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.02773, allocations: 4 kB / 268 MB, free: 6.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004444/0.02817, allocations: 454.4 kB / 268.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.02819, allocations: 14.28 kB / 268.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.0282, allocations: 8.719 kB / 268.4 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.02846, allocations: 85.62 kB / 268.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.02884, allocations: 183.7 kB / 268.7 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.02993, allocations: 2.392 MB / 271.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.03016, allocations: 87.39 kB / 271.2 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.03019, allocations: 28 kB / 271.2 MB, free: 2.973 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.0001301/0.03032, allocations: 165.6 kB / 271.4 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.03037, allocations: 43.97 kB / 271.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.03076, allocations: 348.3 kB / 271.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.03077, allocations: 4 kB / 271.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.03077, allocations: 4 kB / 271.7 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.03078, allocations: 0 / 271.7 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008255/0.0316, allocations: 0.6626 MB / 272.4 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.0316, allocations: 4 kB / 272.4 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.03185, allocations: 107.9 kB / 272.5 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.03193, allocations: 59.56 kB / 272.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.03212, allocations: 77.58 kB / 272.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.03214, allocations: 12 kB / 272.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009374/0.03308, allocations: 2.373 MB / 275 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.03308, allocations: 4.062 kB / 275 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.0335, allocations: 484.3 kB / 275.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.03353, allocations: 8 kB / 275.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.03366, allocations: 23.98 kB / 275.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.03373, allocations: 40.42 kB / 275.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.03374, allocations: 15.98 kB / 275.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.03381, allocations: 92.62 kB / 275.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03381, allocations: 3.938 kB / 275.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004527/0.03427, allocations: 223.5 kB / 275.9 MB, free: 14 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.000215/0.03448, allocations: 148.2 kB / 276.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000501/0.03498, allocations: 0.5676 MB / 276.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/0.035, allocations: 8.5 kB / 276.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.03527, allocations: 431 kB / 277.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.03559, allocations: 304 kB / 277.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.04069, allocations: 1.109 MB / 278.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.045e-05/0.04077, allocations: 140.1 kB / 278.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.04098, allocations: 80.38 kB / 278.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.04115, allocations: 135.3 kB / 278.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04115, allocations: 4 kB / 278.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of Templates: time 0.009088/0.05024, allocations: 6.54 MB / 285.4 MB, free: 4.488 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6047442592680454]