Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.0007993/0.0007993, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001127/0.001127, allocations: 175.4 kB / 24.92 MB, free: 9.172 MB / 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 0.988/0.988, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.879e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002773/0.002792, allocations: 2.875 MB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.00461, allocations: 1.21 MB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.004811, allocations: 8 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.005811, allocations: 0.6453 MB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.006159, allocations: 150.9 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007914/0.00695, allocations: 0.6185 MB / 279 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.007315, allocations: 306.4 kB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.007648, allocations: 257.7 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.007869, allocations: 187.6 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.008022, allocations: 139.6 kB / 279.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.008048, allocations: 24 kB / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.008405, allocations: 183.7 kB / 280.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.008442, allocations: 59.75 kB / 280.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.008515, allocations: 103.7 kB / 280.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.008955, allocations: 386.7 kB / 280.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.008958, allocations: 0 / 280.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.00896, allocations: 0 / 280.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.008964, allocations: 7.938 kB / 280.6 MB, free: 10.11 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009699/0.009934, allocations: 0.6598 MB / 281.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.009965, allocations: 8.031 kB / 281.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.01045, allocations: 184.6 kB / 281.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.01067, allocations: 161.4 kB / 281.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.01068, allocations: 25.02 kB / 281.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.01072, allocations: 36.38 kB / 281.7 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.01095, allocations: 237.6 kB / 281.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01096, allocations: 192 / 281.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.01098, allocations: 15.94 kB / 281.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.01099, allocations: 8 kB / 281.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.0111, allocations: 100.5 kB / 282 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.01207, allocations: 0.8412 MB / 282.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.0123, allocations: 182.4 kB / 283 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.01235, allocations: 48.83 kB / 283.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.65e-05/0.01243, allocations: 19.98 kB / 283.1 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.01246, allocations: 34.56 kB / 283.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.184e-06/0.01246, allocations: 0 / 283.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005199/0.01298, allocations: 292.8 kB / 283.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.013, allocations: 59.34 kB / 283.5 MB, free: 7.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.01309, allocations: 154.4 kB / 283.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.01311, allocations: 33.7 kB / 283.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.01317, allocations: 176.3 kB / 283.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.01321, allocations: 95.19 kB / 283.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.01327, allocations: 49.97 kB / 284 MB, free: 6.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.01334, allocations: 330.8 kB / 284.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.01338, allocations: 28.55 kB / 284.3 MB, free: 6.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.01344, allocations: 92.95 kB / 284.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.01356, allocations: 144.1 kB / 284.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01356, allocations: 0 / 284.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002393/0.0138, allocations: 216.5 kB / 284.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01382, allocations: 8 kB / 284.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.01382, allocations: 0 / 284.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.01402, allocations: 64.92 kB / 284.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.01411, allocations: 47.86 kB / 284.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.01513, allocations: 1.598 MB / 286.5 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.0152, allocations: 23.83 kB / 286.5 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.01522, allocations: 8 kB / 286.5 MB, free: 3.852 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.0153, allocations: 125.7 kB / 286.7 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.01532, allocations: 19.97 kB / 286.7 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.01556, allocations: 187.4 kB / 286.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01557, allocations: 4 kB / 286.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01557, allocations: 3.984 kB / 286.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.01557, allocations: 0 / 286.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.01597, allocations: 403.3 kB / 287.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01597, allocations: 0 / 287.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.01603, allocations: 27.98 kB / 287.3 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001337/0.01617, allocations: 64.73 kB / 287.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01618, allocations: 4 kB / 287.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008696/0.01705, allocations: 1.595 MB / 288.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01705, allocations: 0 / 288.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.01728, allocations: 295.1 kB / 289.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.01732, allocations: 35.88 kB / 289.3 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.01734, allocations: 0 / 289.3 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.01739, allocations: 8 kB / 289.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.01742, allocations: 15.97 kB / 289.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01743, allocations: 7.984 kB / 289.3 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.01746, allocations: 43.52 kB / 289.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01746, allocations: 0 / 289.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.01777, allocations: 99.78 kB / 289.4 MB, free: 0.7891 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.01793, allocations: 108.3 kB / 289.5 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.01823, allocations: 273.5 kB / 289.8 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01823, allocations: 64 / 289.8 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.01838, allocations: 231.1 kB / 290 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.01855, allocations: 19.94 kB / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09452/0.1131, allocations: 0.4996 MB / 290.6 MB, free: 22.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.1131, allocations: 90.95 kB / 290.7 MB, free: 22.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.1132, allocations: 22.8 kB / 290.7 MB, free: 22.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.1133, allocations: 68.45 kB / 290.7 MB, free: 22.64 MB / 266.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1133, allocations: 1.188 kB / 290.7 MB, free: 22.64 MB / 266.7 MB Notification: Performance of Templates: time 0.006018/0.1193, allocations: 2.975 MB / 293.7 MB, free: 22.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.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.6596448360942304]