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.0007124/0.0007124, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001792, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006832/0.0006832, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009718/0.001655, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.101/1.101, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09207/1.193, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.452e-06/1.452e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.222e-05, allocations: 5.406 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002959/0.002981, allocations: 2.9 MB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004216, allocations: 1.21 MB / 249.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.004313, allocations: 8 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007381/0.005052, allocations: 0.6492 MB / 250 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.005237, allocations: 142.9 kB / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.005946, allocations: 0.6223 MB / 250.7 MB, free: 8.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.006219, allocations: 314.4 kB / 251 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.0065, allocations: 237.8 kB / 251.3 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.006699, allocations: 211.5 kB / 251.5 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.006847, allocations: 131.7 kB / 251.6 MB, free: 7.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.006878, allocations: 24 kB / 251.6 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.00713, allocations: 187.6 kB / 251.8 MB, free: 6.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.007165, allocations: 47.81 kB / 251.9 MB, free: 6.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.007228, allocations: 83.81 kB / 251.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.007586, allocations: 350.8 kB / 252.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.007597, allocations: 0 / 252.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007598, allocations: 4 kB / 252.3 MB, free: 6.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.007609, allocations: 4 kB / 252.3 MB, free: 6.457 MB / 250.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.001013/0.008622, allocations: 0.7973 MB / 253.1 MB, free: 5.617 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.008652, allocations: 12.56 kB / 253.1 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.00913, allocations: 180.5 kB / 253.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.009305, allocations: 161.4 kB / 253.4 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.009323, allocations: 25.03 kB / 253.5 MB, free: 5.223 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.009358, allocations: 28.38 kB / 253.5 MB, free: 5.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.009589, allocations: 253.5 kB / 253.7 MB, free: 4.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.009602, allocations: 192 / 253.7 MB, free: 4.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.009622, allocations: 19.94 kB / 253.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.009633, allocations: 8 kB / 253.8 MB, free: 4.906 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.009748, allocations: 88.47 kB / 253.8 MB, free: 4.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.01067, allocations: 0.8451 MB / 254.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.01091, allocations: 190.3 kB / 254.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.01096, allocations: 48.83 kB / 254.9 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.759e-05/0.01103, allocations: 15.98 kB / 254.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.01105, allocations: 38.56 kB / 255 MB, free: 3.617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.01105, allocations: 0 / 255 MB, free: 3.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005022/0.01155, allocations: 292 kB / 255.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.01158, allocations: 63.28 kB / 255.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.01166, allocations: 152.5 kB / 255.5 MB, free: 3.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.01167, allocations: 25.7 kB / 255.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.01175, allocations: 188.2 kB / 255.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.01179, allocations: 83.27 kB / 255.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.01185, allocations: 53.97 kB / 255.8 MB, free: 2.723 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.01192, allocations: 326.8 kB / 256.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.01196, allocations: 28.55 kB / 256.2 MB, free: 2.367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.1e-05/0.01202, allocations: 92.67 kB / 256.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.01213, allocations: 148.8 kB / 256.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01213, allocations: 0 / 256.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002183/0.01235, allocations: 215.8 kB / 256.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.01236, allocations: 4 kB / 256.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01237, allocations: 4 kB / 256.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.01255, allocations: 64.94 kB / 256.7 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.01264, allocations: 51.84 kB / 256.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009575/0.0136, allocations: 1.599 MB / 258.3 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.01367, allocations: 23.78 kB / 258.3 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01368, allocations: 15.98 kB / 258.4 MB, free: 12 kB / 250.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.697e-05/0.01376, allocations: 133.6 kB / 258.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.01379, allocations: 19.98 kB / 258.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.014, allocations: 181.1 kB / 258.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.014, allocations: 4 kB / 258.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01401, allocations: 0 / 258.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01401, allocations: 3.984 kB / 258.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.01439, allocations: 411.4 kB / 259.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0144, allocations: 0 / 259.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.01446, allocations: 23.98 kB / 259.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.01449, allocations: 27.84 kB / 259.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.01463, allocations: 68.67 kB / 259.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.01464, allocations: 4 kB / 259.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.01579, allocations: 1.576 MB / 260.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01579, allocations: 0 / 260.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.01603, allocations: 308.5 kB / 261.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.01605, allocations: 4 kB / 261.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.0161, allocations: 4 kB / 261.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.01613, allocations: 15.97 kB / 261.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01614, allocations: 8 kB / 261.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.01617, allocations: 37.22 kB / 261.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01617, allocations: 4 kB / 261.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.01643, allocations: 99.78 kB / 261.3 MB, free: 12.95 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.0001623/0.01659, allocations: 112.3 kB / 261.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.01687, allocations: 277.9 kB / 261.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.01688, allocations: 8.281 kB / 261.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.01705, allocations: 235.1 kB / 261.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01725, allocations: 121 kB / 262 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.02024, allocations: 0.5048 MB / 262.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.0203, allocations: 96.19 kB / 262.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.02036, allocations: 17.95 kB / 262.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.02041, allocations: 71.34 kB / 262.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02041, allocations: 0 / 262.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of Templates: time 0.004902/0.02532, allocations: 2.937 MB / 265.6 MB, free: 8.512 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7680251505225897]