Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001031, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002549, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002427, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9223/0.9223, allocations: 177.5 MB / 190.1 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09621/1.018, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.213e-05, allocations: 6.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.01114/0.01115, allocations: 4.957 MB / 250.2 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005873/0.01702, allocations: 2.178 MB / 252.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.01721, allocations: 16 kB / 252.4 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.02202, allocations: 1.474 MB / 253.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.02272, allocations: 437 kB / 254.3 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.02588, allocations: 1.144 MB / 255.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009007/0.02678, allocations: 0.7587 MB / 256.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006972/0.02748, allocations: 0.5734 MB / 256.7 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.02798, allocations: 0.495 MB / 257.2 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.02835, allocations: 331.1 kB / 257.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.022e-05/0.02843, allocations: 68 kB / 257.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.02895, allocations: 419.3 kB / 258 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.02903, allocations: 119.6 kB / 258.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.02917, allocations: 207.6 kB / 258.4 MB, free: 368 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000675/0.02985, allocations: 0.8135 MB / 259.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.02986, allocations: 0 / 259.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.02986, allocations: 0 / 259.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.02987, allocations: 3.938 kB / 259.2 MB, free: 15.54 MB / 266.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.002348/0.03222, allocations: 1.678 MB / 260.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.03224, allocations: 12.62 kB / 260.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.03358, allocations: 0.5157 MB / 261.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.03373, allocations: 197.5 kB / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.03378, allocations: 62.31 kB / 261.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/0.03387, allocations: 84.38 kB / 261.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.03448, allocations: 0.6441 MB / 262.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.0345, allocations: 8.141 kB / 262.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.03454, allocations: 32.38 kB / 262.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.03455, allocations: 23.94 kB / 262.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.03489, allocations: 297.8 kB / 262.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.03695, allocations: 1.906 MB / 264.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.03733, allocations: 350.5 kB / 265 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.03742, allocations: 94.31 kB / 265.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.213e-05/0.03748, allocations: 36.47 kB / 265.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.0375, allocations: 39.06 kB / 265.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.543e-06/0.0375, allocations: 0 / 265.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.001958/0.03946, allocations: 1.02 MB / 266.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.03949, allocations: 59.91 kB / 266.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.03965, allocations: 290.6 kB / 266.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.03967, allocations: 29.7 kB / 266.5 MB, free: 7.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.0398, allocations: 367.8 kB / 266.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.03989, allocations: 210.2 kB / 267.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.04, allocations: 146.5 kB / 267.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.04008, allocations: 346.7 kB / 267.6 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.04017, allocations: 69.97 kB / 267.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.04036, allocations: 353.3 kB / 268 MB, free: 6.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.0407, allocations: 483.4 kB / 268.4 MB, free: 5.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.04071, allocations: 4 kB / 268.5 MB, free: 5.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004348/0.04114, allocations: 474.5 kB / 268.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.04116, allocations: 8 kB / 268.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.04116, allocations: 8 kB / 268.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/0.04141, allocations: 78.08 kB / 269 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.04176, allocations: 191.7 kB / 269.2 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.04276, allocations: 2.385 MB / 271.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.04298, allocations: 83.41 kB / 271.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.04301, allocations: 27.98 kB / 271.7 MB, free: 2.332 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.0001272/0.04314, allocations: 157.6 kB / 271.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.04319, allocations: 44.03 kB / 271.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.04358, allocations: 360.3 kB / 272.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.04358, allocations: 4 kB / 272.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.04358, allocations: 4 kB / 272.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.04359, allocations: 3.984 kB / 272.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.04427, allocations: 0.6509 MB / 272.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.04427, allocations: 0 / 272.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.04452, allocations: 115.9 kB / 273 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.0446, allocations: 63.56 kB / 273.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.04479, allocations: 77.56 kB / 273.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.04481, allocations: 15.98 kB / 273.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009004/0.04571, allocations: 2.365 MB / 275.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.04571, allocations: 3.938 kB / 275.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.04613, allocations: 484.4 kB / 276 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.04616, allocations: 8 kB / 276 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.0463, allocations: 23.98 kB / 276 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.04636, allocations: 36.42 kB / 276.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.04637, allocations: 19.98 kB / 276.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.04644, allocations: 92.62 kB / 276.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04644, allocations: 0 / 276.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.04681, allocations: 223.4 kB / 276.4 MB, free: 13.36 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.0001736/0.04698, allocations: 144.2 kB / 276.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.04742, allocations: 0.5672 MB / 277.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.04744, allocations: 12.48 kB / 277.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.04771, allocations: 423.5 kB / 277.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.048, allocations: 308 kB / 277.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.05309, allocations: 1.117 MB / 279 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.914e-05/0.05319, allocations: 140.1 kB / 279.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.05339, allocations: 80.36 kB / 279.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.05358, allocations: 127.3 kB / 279.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.05358, allocations: 0 / 279.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of Templates: time 0.00867/0.06225, allocations: 6.558 MB / 285.9 MB, free: 3.832 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.4803499905392528]