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.002544/0.002544, allocations: 103.5 kB / 20.97 MB, free: 3.445 MB / 18.57 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.002961/0.002961, allocations: 160.8 kB / 24.27 MB, free: 148 kB / 18.57 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 1.605/1.605, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.403e-06/1.403e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.586e-05, allocations: 5.266 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009424/0.009449, allocations: 6.537 MB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004766/0.01422, allocations: 2.382 MB / 281.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.01455, allocations: 24 kB / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.01918, allocations: 1.983 MB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.02065, allocations: 0.5548 MB / 283.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.02345, allocations: 1.284 MB / 285 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.02497, allocations: 1.159 MB / 286.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.0264, allocations: 0.8252 MB / 287 MB, free: 2.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.02751, allocations: 0.7015 MB / 287.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008364/0.02835, allocations: 482.6 kB / 288.1 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.02851, allocations: 100 kB / 288.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009695/0.02948, allocations: 435.3 kB / 288.7 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.02973, allocations: 259 kB / 288.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.03023, allocations: 391 kB / 289.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.127/0.1572, allocations: 1.727 MB / 291 MB, free: 17.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1572, allocations: 0 / 291 MB, free: 17.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1572, allocations: 1.094 kB / 291 MB, free: 17.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.1572, allocations: 0 / 291 MB, free: 17.54 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.00635/0.1636, allocations: 2.148 MB / 293.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1636, allocations: 13.72 kB / 293.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.1673, allocations: 0.7074 MB / 293.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.1677, allocations: 252.6 kB / 294.1 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.1678, allocations: 98.58 kB / 294.2 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.168, allocations: 133.1 kB / 294.4 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.1705, allocations: 1.367 MB / 295.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.1706, allocations: 2.281 kB / 295.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1707, allocations: 53.27 kB / 295.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.1707, allocations: 36.38 kB / 295.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.1732, allocations: 1.136 MB / 297 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006944/0.1802, allocations: 3.793 MB / 300.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.1823, allocations: 1.165 MB / 301.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008349/0.1831, allocations: 453.5 kB / 302.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.1832, allocations: 53.08 kB / 302.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.1833, allocations: 50.2 kB / 302.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.236e-06/0.1833, allocations: 1.094 kB / 302.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.007397/0.1907, allocations: 3.187 MB / 305.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1907, allocations: 90.05 kB / 305.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.1911, allocations: 0.4893 MB / 306.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.1911, allocations: 48.39 kB / 306.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1913, allocations: 0.5196 MB / 306.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.1915, allocations: 465.5 kB / 307.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.1918, allocations: 267.6 kB / 307.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1919, allocations: 0.582 MB / 308.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/0.1927, allocations: 391.4 kB / 308.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.1935, allocations: 0.8042 MB / 309.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.1951, allocations: 1.25 MB / 310.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1951, allocations: 3.5 kB / 310.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002283/0.1974, allocations: 1.46 MB / 312 MB, free: 7.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1974, allocations: 8 kB / 312 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1974, allocations: 4 kB / 312 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.1985, allocations: 297.5 kB / 312.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.1995, allocations: 277.3 kB / 312.6 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.2027, allocations: 5.357 MB / 317.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008108/0.2035, allocations: 60.03 kB / 318 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.2036, allocations: 55.98 kB / 318 MB, free: 1.754 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.0003994/0.204, allocations: 312.8 kB / 318.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.2042, allocations: 107.6 kB / 318.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.2064, allocations: 1.272 MB / 319.7 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2064, allocations: 14.62 kB / 319.7 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2064, allocations: 6.938 kB / 319.7 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2065, allocations: 3.984 kB / 319.7 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.2112, allocations: 2.381 MB / 322.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2112, allocations: 0 / 322.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/0.2121, allocations: 197.7 kB / 322.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.2132, allocations: 266.3 kB / 322.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/0.2133, allocations: 27.98 kB / 322.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/0.2188, allocations: 5.163 MB / 327.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2188, allocations: 4 kB / 327.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.2228, allocations: 1.851 MB / 329.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.2232, allocations: 162.3 kB / 329.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.2233, allocations: 24 kB / 329.8 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.2239, allocations: 39.98 kB / 329.8 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.2241, allocations: 92.81 kB / 329.9 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.977e-05/0.2242, allocations: 35.98 kB / 330 MB, free: 5.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003898/0.2246, allocations: 318.7 kB / 330.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2246, allocations: 0 / 330.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001258/0.2259, allocations: 307.9 kB / 330.6 MB, free: 4.988 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.0003737/0.2262, allocations: 179 kB / 330.7 MB, free: 4.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.2293, allocations: 1.515 MB / 332.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2293, allocations: 0 / 332.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.2312, allocations: 0.9687 MB / 333.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.2318, allocations: 86.03 kB / 333.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.2361, allocations: 1.868 MB / 335.2 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.2367, allocations: 416.3 kB / 335.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006141/0.2373, allocations: 146.6 kB / 335.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.2376, allocations: 76.47 kB / 335.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2376, allocations: 4 kB / 335.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of Templates: time 0.02224/0.2598, allocations: 10.39 MB / 346.2 MB, free: 5.488 MB / 298.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.170218519982882]