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.001163/0.001163, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.00268, 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.001022/0.001022, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002384, 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.8987/0.8987, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07857/0.9773, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.483e-06/1.483e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.145e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004508/0.004529, allocations: 4.958 MB / 250 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.00764, allocations: 2.167 MB / 252.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.007944, allocations: 16 kB / 252.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.00959, allocations: 1.485 MB / 253.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008159/0.01041, allocations: 425 kB / 254.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.01166, allocations: 1.148 MB / 255.2 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.01224, allocations: 0.7587 MB / 256 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.01282, allocations: 0.5773 MB / 256.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.01324, allocations: 0.4989 MB / 257 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.01353, allocations: 331.1 kB / 257.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.01359, allocations: 68 kB / 257.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.01425, allocations: 419.2 kB / 257.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.01433, allocations: 119.6 kB / 258 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.01448, allocations: 207.6 kB / 258.2 MB, free: 456 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.01556, allocations: 0.8177 MB / 259 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.01558, allocations: 3.938 kB / 259 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01558, allocations: 0 / 259 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.0156, allocations: 4 kB / 259 MB, free: 15.61 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.002247/0.01785, allocations: 1.671 MB / 260.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.01788, allocations: 8.625 kB / 260.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.01913, allocations: 0.5274 MB / 261.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.01935, allocations: 193.5 kB / 261.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.01941, allocations: 66.38 kB / 261.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.01951, allocations: 88.38 kB / 261.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.02012, allocations: 0.6402 MB / 262.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.02014, allocations: 4.141 kB / 262.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.02018, allocations: 40.31 kB / 262.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.02019, allocations: 23.94 kB / 262.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.02053, allocations: 289.8 kB / 262.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.02256, allocations: 1.898 MB / 264.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.02293, allocations: 354.5 kB / 264.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.547e-05/0.02303, allocations: 98.3 kB / 264.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.286e-05/0.02309, allocations: 24.48 kB / 264.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.02312, allocations: 39.06 kB / 264.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.355e-06/0.02312, allocations: 0 / 264.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0008284/0.02395, allocations: 0.5678 MB / 265.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.02397, allocations: 59.91 kB / 265.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.02412, allocations: 286.6 kB / 265.8 MB, free: 8.508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003051/0.02442, allocations: 37.7 kB / 265.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.02456, allocations: 367.8 kB / 266.2 MB, free: 8.098 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.518e-05/0.02466, allocations: 206.2 kB / 266.4 MB, free: 7.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.02477, allocations: 138.5 kB / 266.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.02485, allocations: 350.7 kB / 266.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.02493, allocations: 81.89 kB / 267 MB, free: 7.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.02512, allocations: 342.8 kB / 267.3 MB, free: 6.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.02543, allocations: 479.3 kB / 267.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.02544, allocations: 4 kB / 267.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004063/0.02584, allocations: 455.1 kB / 268.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.02586, allocations: 12.06 kB / 268.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.02587, allocations: 8 kB / 268.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.02611, allocations: 85.58 kB / 268.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.02645, allocations: 187.7 kB / 268.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009769/0.02743, allocations: 2.385 MB / 270.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.02765, allocations: 91.45 kB / 271 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.02768, allocations: 27.98 kB / 271 MB, free: 2.887 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.0001198/0.0278, allocations: 153.6 kB / 271.2 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.02785, allocations: 43.97 kB / 271.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.02823, allocations: 348.2 kB / 271.6 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02823, allocations: 8 kB / 271.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02823, allocations: 0 / 271.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.02824, allocations: 0 / 271.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.02889, allocations: 0.6665 MB / 272.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.0289, allocations: 0 / 272.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.02913, allocations: 115.9 kB / 272.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.02922, allocations: 59.56 kB / 272.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.0294, allocations: 69.64 kB / 272.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.02942, allocations: 12 kB / 272.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.03055, allocations: 2.38 MB / 274.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.03055, allocations: 3.984 kB / 274.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.03095, allocations: 476.4 kB / 275.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.03098, allocations: 8 kB / 275.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.03111, allocations: 19.98 kB / 275.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.03118, allocations: 44.36 kB / 275.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.0312, allocations: 12.19 kB / 275.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.03126, allocations: 100.6 kB / 275.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03126, allocations: 0 / 275.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.03169, allocations: 219.5 kB / 275.7 MB, free: 13.92 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.0001874/0.03188, allocations: 156.2 kB / 275.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.03233, allocations: 0.5544 MB / 276.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.03235, allocations: 12.44 kB / 276.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.03258, allocations: 389.7 kB / 276.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.03279, allocations: 84.95 kB / 276.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.03795, allocations: 1.114 MB / 278 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.061e-05/0.03804, allocations: 136.1 kB / 278.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.03827, allocations: 84.31 kB / 278.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.03844, allocations: 123.3 kB / 278.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.03844, allocations: 0 / 278.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of Templates: time 0.009367/0.0478, allocations: 6.536 MB / 284.9 MB, free: 4.715 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5290296375751495]