Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001062/0.001062, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002392, 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.000684/0.000684, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008405/0.001525, 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.9391/0.9391, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0898/1.029, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.25e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.01598/0.016, allocations: 6.509 MB / 251.7 MB, free: 7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007765/0.02377, allocations: 2.501 MB / 254.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.02487, allocations: 24 kB / 254.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005982/0.03085, allocations: 1.979 MB / 256.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.03381, allocations: 0.5508 MB / 256.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.03574, allocations: 1.272 MB / 258.1 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.03719, allocations: 1.156 MB / 259.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.03823, allocations: 0.8216 MB / 260 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/0.03919, allocations: 0.737 MB / 260.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.0398, allocations: 494.6 kB / 261.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.03996, allocations: 104 kB / 261.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009013/0.04086, allocations: 451.2 kB / 261.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.04099, allocations: 179.4 kB / 262 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.04128, allocations: 311.4 kB / 262.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.04246, allocations: 1.082 MB / 263.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.04247, allocations: 0 / 263.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04248, allocations: 0 / 263.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.0425, allocations: 0 / 263.4 MB, free: 11.3 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003842/0.04635, allocations: 2.369 MB / 265.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.04638, allocations: 8.625 kB / 265.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.04833, allocations: 0.7535 MB / 266.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.04858, allocations: 244.1 kB / 266.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.04865, allocations: 94.95 kB / 266.8 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.04879, allocations: 132.4 kB / 266.9 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.04978, allocations: 0.9347 MB / 267.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.04981, allocations: 8.141 kB / 267.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.04988, allocations: 52.38 kB / 267.9 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.0499, allocations: 35.94 kB / 268 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.05045, allocations: 436 kB / 268.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.0537, allocations: 2.657 MB / 271.1 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.05474, allocations: 0.794 MB / 271.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.05496, allocations: 219.7 kB / 272.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.525e-05/0.05505, allocations: 52.89 kB / 272.1 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.05508, allocations: 47.56 kB / 272.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.204e-06/0.05508, allocations: 0 / 272.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.1164/0.1714, allocations: 2.257 MB / 274.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.1715, allocations: 67.62 kB / 274.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1718, allocations: 339 kB / 274.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.1719, allocations: 45.55 kB / 274.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.1721, allocations: 463.4 kB / 275.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.1723, allocations: 433.5 kB / 275.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.1726, allocations: 220.2 kB / 276 MB, free: 11.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.1726, allocations: 379.5 kB / 276.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1729, allocations: 135 kB / 276.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.1732, allocations: 434.4 kB / 276.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.1738, allocations: 0.6628 MB / 277.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.1738, allocations: 2.281 kB / 277.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.001064/0.1749, allocations: 0.7449 MB / 278.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1749, allocations: 8.875 kB / 278.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.1749, allocations: 8.156 kB / 278.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/0.1755, allocations: 244.2 kB / 278.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.1762, allocations: 291.5 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.178, allocations: 3.37 MB / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.1784, allocations: 126.3 kB / 282.3 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.1785, allocations: 41.88 kB / 282.4 MB, free: 8.316 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (143): * Single equations (assignments): 141 * 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.0001758/0.1787, allocations: 180.6 kB / 282.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1788, allocations: 81.12 kB / 282.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008232/0.1796, allocations: 0.6819 MB / 283.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1796, allocations: 13.05 kB / 283.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1796, allocations: 4.031 kB / 283.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.1796, allocations: 15.22 kB / 283.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.1811, allocations: 1.232 MB / 284.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1811, allocations: 2.375 kB / 284.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.1816, allocations: 206.7 kB / 284.8 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.1817, allocations: 101.6 kB / 284.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.1822, allocations: 208 kB / 285.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.1822, allocations: 30.19 kB / 285.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.1836, allocations: 3.216 MB / 288.3 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1836, allocations: 1.375 kB / 288.3 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009045/0.1845, allocations: 0.8795 MB / 289.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.1846, allocations: 22.34 kB / 289.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1848, allocations: 31.84 kB / 289.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.1849, allocations: 84.56 kB / 289.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.1849, allocations: 31.23 kB / 289.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.185, allocations: 136.1 kB / 289.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.185, allocations: 0 / 289.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008216/0.1858, allocations: 364.8 kB / 289.9 MB, free: 4.859 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 101 * 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 0.0002172/0.1861, allocations: 154.5 kB / 290 MB, free: 4.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.1869, allocations: 0.9264 MB / 290.9 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.1e-05/0.187, allocations: 12.22 kB / 290.9 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.1874, allocations: 0.6649 MB / 291.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1877, allocations: 340.8 kB / 291.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007162/0.1949, allocations: 1.804 MB / 293.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.195, allocations: 200.7 kB / 293.9 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003318/0.1954, allocations: 136.8 kB / 294.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.1956, allocations: 173.6 kB / 294.2 MB, free: 3.109 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1956, allocations: 0 / 294.2 MB, free: 3.109 MB / 266.7 MB Notification: Performance of Templates: time 0.0128/0.2084, allocations: 11.17 MB / 305.4 MB, free: 12.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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.7553233206272125]