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.001319/0.001319, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001371/0.001371, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.8927/0.8927, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.332e-06/1.332e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.297e-05, allocations: 5.969 kB / 273.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002657/0.00267, allocations: 2.829 MB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.004119, allocations: 1.21 MB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.004233, allocations: 11.94 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.005093, allocations: 0.6493 MB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.005354, allocations: 142.9 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.006081, allocations: 0.6341 MB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.006386, allocations: 310.4 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.006687, allocations: 253.7 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.00689, allocations: 199.5 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.00703, allocations: 131.7 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.007057, allocations: 24 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.007325, allocations: 171.7 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.007362, allocations: 67.75 kB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.00743, allocations: 95.77 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.007799, allocations: 390.7 kB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.0078, allocations: 0 / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007801, allocations: 0 / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.007804, allocations: 0 / 280.5 MB, free: 10.07 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.0009159/0.00872, allocations: 0.6559 MB / 281.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.008748, allocations: 12.03 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/0.00921, allocations: 180.6 kB / 281.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.009393, allocations: 169.4 kB / 281.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.009411, allocations: 21.03 kB / 281.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.009447, allocations: 32.38 kB / 281.6 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.00967, allocations: 237.6 kB / 281.8 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.009684, allocations: 4.188 kB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.009703, allocations: 23.84 kB / 281.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.009713, allocations: 8 kB / 281.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.00982, allocations: 96.53 kB / 282 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009972/0.01082, allocations: 0.845 MB / 282.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.01104, allocations: 174.5 kB / 283 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.01109, allocations: 52.83 kB / 283 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.651e-05/0.01115, allocations: 15.98 kB / 283 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.01118, allocations: 38.56 kB / 283.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.01118, allocations: 7.984 kB / 283.1 MB, free: 7.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005067/0.01168, allocations: 289 kB / 283.4 MB, free: 7.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.01171, allocations: 59.34 kB / 283.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.01179, allocations: 157.4 kB / 283.6 MB, free: 6.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.0118, allocations: 29.7 kB / 283.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.01186, allocations: 180.3 kB / 283.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.0119, allocations: 91.19 kB / 283.9 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.01196, allocations: 49.97 kB / 283.9 MB, free: 6.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.01203, allocations: 330.8 kB / 284.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.01206, allocations: 28.55 kB / 284.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.01212, allocations: 92.97 kB / 284.4 MB, free: 6.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.01223, allocations: 144 kB / 284.5 MB, free: 5.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01223, allocations: 0 / 284.5 MB, free: 5.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002142/0.01245, allocations: 212.4 kB / 284.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01246, allocations: 7.984 kB / 284.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01247, allocations: 4 kB / 284.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.01265, allocations: 68.95 kB / 284.8 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.01274, allocations: 47.86 kB / 284.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.01378, allocations: 1.583 MB / 286.4 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.01385, allocations: 23.83 kB / 286.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.01386, allocations: 4 kB / 286.4 MB, free: 3.809 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.098e-05/0.01394, allocations: 129.7 kB / 286.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.01397, allocations: 19.98 kB / 286.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.01419, allocations: 183.4 kB / 286.8 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.0142, allocations: 4 kB / 286.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.0142, allocations: 0 / 286.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.0142, allocations: 7.984 kB / 286.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.0146, allocations: 403.3 kB / 287.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0146, allocations: 4 kB / 287.2 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.01466, allocations: 20 kB / 287.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.01479, allocations: 72.7 kB / 287.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.0148, allocations: 4 kB / 287.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008152/0.01561, allocations: 1.587 MB / 288.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01561, allocations: 0 / 288.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.01587, allocations: 295.6 kB / 289.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.0159, allocations: 23.83 kB / 289.2 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.01592, allocations: 8 kB / 289.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-05/0.01597, allocations: 4 kB / 289.2 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.016, allocations: 23.91 kB / 289.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.01601, allocations: 3.984 kB / 289.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.106e-05/0.01604, allocations: 38.92 kB / 289.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01604, allocations: 0 / 289.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.01634, allocations: 99.78 kB / 289.3 MB, free: 0.7539 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.0001384/0.01648, allocations: 116.3 kB / 289.5 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.01676, allocations: 277.3 kB / 289.7 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.01677, allocations: 0 / 289.7 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.0169, allocations: 215.2 kB / 289.9 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.01705, allocations: 27.88 kB / 290 MB, free: 96 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08879/0.1058, allocations: 0.5061 MB / 290.5 MB, free: 22.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.1059, allocations: 88.78 kB / 290.6 MB, free: 22.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.933e-05/0.106, allocations: 23.2 kB / 290.6 MB, free: 22.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.106, allocations: 68.98 kB / 290.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.106, allocations: 0 / 290.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of Templates: time 0.005348/0.1114, allocations: 2.964 MB / 293.6 MB, free: 22.34 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 -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.640112350229174]