Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001243/0.001243, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001847/0.003091, allocations: 449.7 kB / 10.37 MB, free: 324 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.001244/0.001244, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002851, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9106/0.9106, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0736/0.9842, allocations: 53.86 MB / 243.8 MB, free: 14.9 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.ToroidalCoreQuadraticCrossSection,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.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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.636e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006109/0.006126, allocations: 4.988 MB / 250 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.009818, allocations: 2.178 MB / 252.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.01014, allocations: 16 kB / 252.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.01183, allocations: 1.481 MB / 253.7 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.01249, allocations: 433 kB / 254.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.01364, allocations: 1.144 MB / 255.2 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.01424, allocations: 0.7704 MB / 256 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.0148, allocations: 0.5734 MB / 256.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.01521, allocations: 0.4999 MB / 257.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.01548, allocations: 351 kB / 257.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.01554, allocations: 68 kB / 257.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.01615, allocations: 415.3 kB / 257.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.01622, allocations: 119.6 kB / 258 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.01636, allocations: 211.6 kB / 258.2 MB, free: 372 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007427/0.01711, allocations: 0.8253 MB / 259.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.01712, allocations: 3.984 kB / 259.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01712, allocations: 0 / 259.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.01714, allocations: 0 / 259.1 MB, free: 15.53 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.002239/0.01938, allocations: 1.686 MB / 260.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.01941, allocations: 12.62 kB / 260.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.02067, allocations: 0.5197 MB / 261.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.02082, allocations: 196.8 kB / 261.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.02087, allocations: 66.38 kB / 261.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.02095, allocations: 80.38 kB / 261.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.02155, allocations: 0.6441 MB / 262.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.02157, allocations: 192 / 262.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.02161, allocations: 39.94 kB / 262.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.02162, allocations: 23.94 kB / 262.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.02196, allocations: 289.8 kB / 262.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.02454, allocations: 1.906 MB / 264.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.02508, allocations: 350.5 kB / 264.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.02523, allocations: 102.3 kB / 265 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.588e-05/0.02532, allocations: 24.48 kB / 265 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.02535, allocations: 39.06 kB / 265 MB, free: 9.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.196e-06/0.02535, allocations: 0 / 265 MB, free: 9.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.001247/0.0266, allocations: 0.5639 MB / 265.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.02663, allocations: 59.91 kB / 265.6 MB, free: 8.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.02683, allocations: 302.6 kB / 265.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.02686, allocations: 37.7 kB / 266 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.027, allocations: 363.8 kB / 266.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.921e-05/0.02709, allocations: 218.2 kB / 266.5 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.02722, allocations: 130.6 kB / 266.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.02731, allocations: 354.7 kB / 267 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.02739, allocations: 73.95 kB / 267.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.02759, allocations: 350.7 kB / 267.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.02793, allocations: 471.3 kB / 267.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.02793, allocations: 0 / 267.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004253/0.02836, allocations: 462.4 kB / 268.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.02838, allocations: 8 kB / 268.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.02839, allocations: 8 kB / 268.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/0.02869, allocations: 94.23 kB / 268.4 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.02903, allocations: 187.7 kB / 268.6 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.03007, allocations: 2.389 MB / 271 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.0303, allocations: 83.39 kB / 271.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.03032, allocations: 28 kB / 271.1 MB, free: 2.777 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.000125/0.03045, allocations: 157.7 kB / 271.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.0305, allocations: 55.83 kB / 271.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.03088, allocations: 344.5 kB / 271.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.03088, allocations: 8 kB / 271.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.03088, allocations: 0 / 271.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.03089, allocations: 11.92 kB / 271.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.03154, allocations: 0.6588 MB / 272.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03155, allocations: 0 / 272.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.03179, allocations: 111.9 kB / 272.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.03187, allocations: 59.56 kB / 272.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.0321, allocations: 81.61 kB / 272.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.03212, allocations: 15.98 kB / 272.6 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008888/0.03301, allocations: 2.377 MB / 275 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03301, allocations: 0 / 275 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.03341, allocations: 476.3 kB / 275.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.03344, allocations: 8 kB / 275.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.03357, allocations: 19.98 kB / 275.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.03363, allocations: 48.36 kB / 275.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.03365, allocations: 11.98 kB / 275.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.205e-05/0.03372, allocations: 104.6 kB / 275.6 MB, free: 14 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03372, allocations: 4 kB / 275.6 MB, free: 14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004114/0.03413, allocations: 219.5 kB / 275.9 MB, free: 13.79 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.0001845/0.03431, allocations: 148.2 kB / 276 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004507/0.03477, allocations: 0.5507 MB / 276.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/0.03478, allocations: 12.56 kB / 276.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.03501, allocations: 389.8 kB / 276.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.03523, allocations: 88.38 kB / 277 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.04033, allocations: 1.133 MB / 278.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.156e-05/0.04041, allocations: 136.1 kB / 278.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.04061, allocations: 80.36 kB / 278.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.04077, allocations: 123.3 kB / 278.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04077, allocations: 0 / 278.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of Templates: time 0.008561/0.04933, allocations: 6.617 MB / 285.1 MB, free: 4.488 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.618983312509954]