Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.0008993/0.0008993, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.0009434/0.0009434, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 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.087/1.087, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.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.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.72e-05, allocations: 5.266 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002987/0.003004, allocations: 2.868 MB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.004517, allocations: 1.206 MB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.004635, allocations: 8 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.005561, allocations: 0.6532 MB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.005835, allocations: 138.9 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.006582, allocations: 0.6224 MB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.006864, allocations: 314.4 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.007147, allocations: 253.7 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.007329, allocations: 191.5 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.007475, allocations: 135.7 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.007503, allocations: 24 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.007756, allocations: 191.7 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.007788, allocations: 55.77 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.007857, allocations: 99.77 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.008223, allocations: 386.7 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.008225, allocations: 3.938 kB / 280.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.008225, allocations: 0 / 280.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.00823, allocations: 0 / 280.5 MB, free: 9.859 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.0009713/0.009201, allocations: 0.6598 MB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.009233, allocations: 8.031 kB / 281.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.009768, allocations: 184.6 kB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.009958, allocations: 165.3 kB / 281.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.009978, allocations: 29.03 kB / 281.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.01001, allocations: 32.38 kB / 281.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.01025, allocations: 241.5 kB / 281.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01026, allocations: 192 / 281.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.01028, allocations: 19.94 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.01029, allocations: 8 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.01041, allocations: 92.52 kB / 282 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.01138, allocations: 0.8451 MB / 282.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.01163, allocations: 178.5 kB / 283 MB, free: 7.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.01168, allocations: 52.72 kB / 283 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.01176, allocations: 15.98 kB / 283.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.01178, allocations: 34.56 kB / 283.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.01179, allocations: 0 / 283.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005364/0.01232, allocations: 290.3 kB / 283.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.01235, allocations: 59.34 kB / 283.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.01245, allocations: 169.8 kB / 283.6 MB, free: 6.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.01246, allocations: 25.7 kB / 283.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.01253, allocations: 176.3 kB / 283.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.01257, allocations: 91.2 kB / 283.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.01263, allocations: 57.95 kB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.01271, allocations: 326.8 kB / 284.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.01275, allocations: 24.55 kB / 284.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.01282, allocations: 92.62 kB / 284.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.01294, allocations: 148.1 kB / 284.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01295, allocations: 0 / 284.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002347/0.01318, allocations: 208.6 kB / 284.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01319, allocations: 8 kB / 284.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.0132, allocations: 0 / 284.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.01341, allocations: 76.72 kB / 284.8 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.0135, allocations: 51.92 kB / 284.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.0145, allocations: 1.583 MB / 286.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.01456, allocations: 23.83 kB / 286.5 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.01457, allocations: 8 kB / 286.5 MB, free: 3.598 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 7.69e-05/0.01465, allocations: 125.8 kB / 286.6 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.01467, allocations: 19.98 kB / 286.6 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.01489, allocations: 183.3 kB / 286.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.0149, allocations: 4 kB / 286.8 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.0149, allocations: 4 kB / 286.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.0149, allocations: 0 / 286.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.01531, allocations: 411.6 kB / 287.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01531, allocations: 0 / 287.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.01537, allocations: 27.92 kB / 287.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.01551, allocations: 64.75 kB / 287.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01552, allocations: 7.984 kB / 287.3 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.01642, allocations: 1.59 MB / 288.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01643, allocations: 7.938 kB / 288.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.01666, allocations: 292.7 kB / 289.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.0167, allocations: 23.83 kB / 289.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.01671, allocations: 11.98 kB / 289.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.01676, allocations: 7.938 kB / 289.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.01679, allocations: 20.03 kB / 289.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.0168, allocations: 7.984 kB / 289.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.823e-05/0.01683, allocations: 37.09 kB / 289.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01683, allocations: 0 / 289.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.01709, allocations: 103.7 kB / 289.4 MB, free: 0.5195 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.0001587/0.01724, allocations: 104.4 kB / 289.5 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.01754, allocations: 273.7 kB / 289.8 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.01754, allocations: 4 kB / 289.8 MB, free: 128 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09434/0.1119, allocations: 215.2 kB / 290 MB, free: 22.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.1121, allocations: 20.45 kB / 290 MB, free: 22.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.113, allocations: 0.5048 MB / 290.5 MB, free: 22.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.556e-05/0.1131, allocations: 86.84 kB / 290.6 MB, free: 22.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.357e-05/0.1132, allocations: 21.5 kB / 290.6 MB, free: 22.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.1132, allocations: 69.19 kB / 290.7 MB, free: 22.38 MB / 266.7 MB Notification: Performance of SimCode: time 1.001e-06/0.1132, allocations: 3.625 kB / 290.7 MB, free: 22.38 MB / 266.7 MB Notification: Performance of Templates: time 0.005869/0.1191, allocations: 2.965 MB / 293.6 MB, free: 22.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.927910152822733]