Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.0007972/0.0007972, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001852, 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.0007228/0.0007228, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009089/0.001632, 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.9404/0.9404, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07984/1.02, 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.377e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00323/0.003244, allocations: 3.523 MB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004582, allocations: 0.9966 MB / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.004747, allocations: 8 kB / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.004912, allocations: 99.08 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.00515, allocations: 170.6 kB / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.005398, allocations: 175.7 kB / 250 MB, free: 8.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.005817, allocations: 0.6464 MB / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.006006, allocations: 142.5 kB / 250.8 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.006377, allocations: 416.3 kB / 251.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.006574, allocations: 207.3 kB / 251.4 MB, free: 7.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.696e-05/0.006631, allocations: 52 kB / 251.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.006677, allocations: 52 kB / 251.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.006733, allocations: 99.62 kB / 251.6 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.006845, allocations: 151.7 kB / 251.7 MB, free: 6.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.007156, allocations: 374.5 kB / 252.1 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/0.00717, allocations: 0 / 252.1 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00717, allocations: 0 / 252.1 MB, free: 6.535 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.007188, allocations: 4 kB / 252.1 MB, free: 6.531 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008267/0.008015, allocations: 0.8775 MB / 253 MB, free: 5.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.008044, allocations: 12.03 kB / 253 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.817e-05/0.008122, allocations: 80.88 kB / 253.1 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.008364, allocations: 241.4 kB / 253.3 MB, free: 5.277 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.008403, allocations: 41.67 kB / 253.3 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.008447, allocations: 52.38 kB / 253.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.009022, allocations: 319.7 kB / 253.7 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.009033, allocations: 192 / 253.7 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.009055, allocations: 27.88 kB / 253.7 MB, free: 4.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.009066, allocations: 16 kB / 253.7 MB, free: 4.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.009231, allocations: 146.3 kB / 253.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.01039, allocations: 1.04 MB / 254.9 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.01063, allocations: 192.5 kB / 255.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.01074, allocations: 93.41 kB / 255.2 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.01077, allocations: 4.328 kB / 255.2 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.01079, allocations: 42.88 kB / 255.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 4.779e-06/0.0108, allocations: 0 / 255.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.001383/0.01218, allocations: 0.9188 MB / 256.2 MB, free: 2.305 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.01221, allocations: 59.91 kB / 256.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.0124, allocations: 363.1 kB / 256.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.01242, allocations: 33.7 kB / 256.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01252, allocations: 281.2 kB / 256.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.401e-05/0.01261, allocations: 194.3 kB / 257.1 MB, free: 1.352 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.0127, allocations: 114.2 kB / 257.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.0128, allocations: 362.7 kB / 257.5 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.01287, allocations: 57.28 kB / 257.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.01299, allocations: 187.1 kB / 257.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.01322, allocations: 304.1 kB / 258.1 MB, free: 256 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01322, allocations: 0 / 258.1 MB, free: 256 kB / 250.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004071/0.01363, allocations: 434.7 kB / 258.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01364, allocations: 8 kB / 258.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01365, allocations: 3.984 kB / 258.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/0.01413, allocations: 221.4 kB / 258.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.01442, allocations: 139.7 kB / 258.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.01664, allocations: 3.295 MB / 262.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.01684, allocations: 24.05 kB / 262.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01686, allocations: 20 kB / 262.2 MB, free: 11.94 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.01698, allocations: 133.8 kB / 262.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.01703, allocations: 51.89 kB / 262.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.01709, allocations: 61.03 kB / 262.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01709, allocations: 7.984 kB / 262.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.01711, allocations: 8 kB / 262.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01711, allocations: 3.984 kB / 262.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/0.01791, allocations: 0.7323 MB / 263.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01792, allocations: 0 / 263.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.01805, allocations: 75.89 kB / 263.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.01809, allocations: 43.61 kB / 263.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.0185, allocations: 209.4 kB / 263.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01851, allocations: 8 kB / 263.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.02013, allocations: 3.189 MB / 266.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02013, allocations: 4 kB / 266.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.02048, allocations: 454.7 kB / 267.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.02051, allocations: 19.92 kB / 267.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.02061, allocations: 8 kB / 267.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.02069, allocations: 56.28 kB / 267.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.02071, allocations: 19.98 kB / 267.3 MB, free: 6.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.943e-05/0.02081, allocations: 152.7 kB / 267.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02081, allocations: 0 / 267.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.02121, allocations: 148 kB / 267.6 MB, free: 6.309 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.422e-05/0.02131, allocations: 92.36 kB / 267.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007771/0.02208, allocations: 0.5834 MB / 268.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/0.0221, allocations: 8 kB / 268.2 MB, free: 5.602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.02237, allocations: 445.5 kB / 268.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.02261, allocations: 78.36 kB / 268.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.02417, allocations: 0.9585 MB / 269.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.289e-05/0.02426, allocations: 134.3 kB / 269.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.02437, allocations: 40.27 kB / 269.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.02447, allocations: 99.36 kB / 270 MB, free: 3.77 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02447, allocations: 0 / 270 MB, free: 3.77 MB / 266.7 MB Notification: Performance of Templates: time 0.008186/0.03266, allocations: 5.556 MB / 275.5 MB, free: 14.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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.568509907461703]