Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002456/0.002456, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002833/0.002833, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.377e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009729/0.009753, allocations: 6.536 MB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005192/0.01494, allocations: 2.378 MB / 281.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.01541, allocations: 24 kB / 281.3 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.02023, allocations: 1.979 MB / 283.3 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.02191, allocations: 0.5548 MB / 283.8 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.02482, allocations: 1.284 MB / 285.1 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.02647, allocations: 1.152 MB / 286.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.02783, allocations: 0.8291 MB / 287.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.02884, allocations: 0.7015 MB / 287.8 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008071/0.02965, allocations: 490.6 kB / 288.3 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.02982, allocations: 104 kB / 288.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.03083, allocations: 431.3 kB / 288.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.03108, allocations: 251 kB / 289 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.03156, allocations: 394.9 kB / 289.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1136/0.1452, allocations: 1.721 MB / 291.1 MB, free: 17.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1452, allocations: 0.6562 kB / 291.1 MB, free: 17.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1452, allocations: 4.688 kB / 291.1 MB, free: 17.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.1452, allocations: 0 / 291.1 MB, free: 17.58 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.005959/0.1512, allocations: 2.147 MB / 293.3 MB, free: 16.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1512, allocations: 9.047 kB / 293.3 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/0.1548, allocations: 0.71 MB / 294 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1551, allocations: 249.6 kB / 294.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.88e-05/0.1552, allocations: 97.36 kB / 294.3 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.1553, allocations: 135.8 kB / 294.5 MB, free: 16.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.1577, allocations: 1.368 MB / 295.8 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.1577, allocations: 3.078 kB / 295.8 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.1578, allocations: 52.75 kB / 295.9 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.1578, allocations: 36.69 kB / 295.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.1601, allocations: 1.135 MB / 297.1 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005916/0.166, allocations: 3.795 MB / 300.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.1679, allocations: 1.174 MB / 302 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.1686, allocations: 447.2 kB / 302.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.1687, allocations: 54.25 kB / 302.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1688, allocations: 50.98 kB / 302.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.926e-06/0.1688, allocations: 0 / 302.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.007422/0.1762, allocations: 3.191 MB / 305.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1762, allocations: 89.23 kB / 305.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.1766, allocations: 0.4915 MB / 306.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.1766, allocations: 48.17 kB / 306.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1768, allocations: 0.5174 MB / 306.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.177, allocations: 462.9 kB / 307.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.1773, allocations: 270.5 kB / 307.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1775, allocations: 0.5779 MB / 308.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/0.1782, allocations: 395.5 kB / 308.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008928/0.1791, allocations: 0.7942 MB / 309.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.1807, allocations: 1.262 MB / 310.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.1807, allocations: 0 / 310.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002313/0.183, allocations: 1.459 MB / 312.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1831, allocations: 8 kB / 312.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1831, allocations: 8 kB / 312.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.1842, allocations: 298 kB / 312.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.1852, allocations: 273.9 kB / 312.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.1885, allocations: 5.357 MB / 318 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.1894, allocations: 59.97 kB / 318.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/0.1895, allocations: 55.98 kB / 318.1 MB, free: 1.785 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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.0004291/0.1899, allocations: 318.2 kB / 318.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.1901, allocations: 111.6 kB / 318.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.1924, allocations: 1.269 MB / 319.8 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.1924, allocations: 15.98 kB / 319.8 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1924, allocations: 4 kB / 319.9 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1924, allocations: 3.984 kB / 319.9 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/0.1974, allocations: 2.376 MB / 322.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1974, allocations: 0 / 322.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000958/0.1984, allocations: 201.8 kB / 322.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.1995, allocations: 255.2 kB / 322.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.1996, allocations: 31.98 kB / 322.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.2051, allocations: 5.163 MB / 327.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2051, allocations: 7.469 kB / 327.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.2091, allocations: 1.85 MB / 329.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.2095, allocations: 159.4 kB / 329.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.2096, allocations: 24 kB / 329.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/0.2102, allocations: 39.98 kB / 329.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.2105, allocations: 96.19 kB / 330 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/0.2106, allocations: 40.02 kB / 330.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003909/0.2109, allocations: 315 kB / 330.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2109, allocations: 0 / 330.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001261/0.2122, allocations: 307.9 kB / 330.7 MB, free: 5.023 MB / 282.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 (106): * Single equations (assignments): 104 * 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.0003523/0.2126, allocations: 178.5 kB / 330.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.2156, allocations: 1.51 MB / 332.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2156, allocations: 0 / 332.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.2172, allocations: 0.9684 MB / 333.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.2178, allocations: 81.47 kB / 333.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.222, allocations: 1.885 MB / 335.3 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.2225, allocations: 416.3 kB / 335.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006027/0.2231, allocations: 142.6 kB / 335.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.2234, allocations: 80.39 kB / 335.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2234, allocations: 0 / 335.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of Templates: time 0.02229/0.2457, allocations: 10.38 MB / 346.3 MB, free: 5.527 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.991134076961316]