Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001902/0.001902, allocations: 87.5 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002289/0.002289, allocations: 165.9 kB / 23.95 MB, free: 4.148 MB / 14.72 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.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.913e-05, allocations: 7.406 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006467/0.006486, allocations: 4.717 MB / 329.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.009711, allocations: 1.651 MB / 331.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.009976, allocations: 16 kB / 331.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.01333, allocations: 1.39 MB / 332.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.01416, allocations: 340.5 kB / 333.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.01561, allocations: 0.6079 MB / 333.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.01661, allocations: 0.8398 MB / 334.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.0177, allocations: 0.6713 MB / 335.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007022/0.01841, allocations: 0.5105 MB / 335.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.01895, allocations: 354.9 kB / 336.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.01906, allocations: 74.47 kB / 336.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.01964, allocations: 252.6 kB / 336.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.0198, allocations: 179.2 kB / 336.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.02015, allocations: 288.2 kB / 336.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.02159, allocations: 1.223 MB / 338.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.0216, allocations: 1.031 kB / 338.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0216, allocations: 0 / 338.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.02161, allocations: 4 kB / 338.1 MB, free: 7.738 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004258/0.02587, allocations: 1.383 MB / 339.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.0259, allocations: 15.98 kB / 339.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.02774, allocations: 248.2 kB / 339.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.028, allocations: 208.6 kB / 340 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/0.02808, allocations: 78.36 kB / 340 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.02823, allocations: 96.38 kB / 340.1 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.02988, allocations: 0.9427 MB / 341.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.02991, allocations: 4.141 kB / 341.1 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.03, allocations: 40.38 kB / 341.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.03004, allocations: 27.94 kB / 341.1 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.03149, allocations: 0.7808 MB / 341.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005224/0.03671, allocations: 2.701 MB / 344.6 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.03869, allocations: 0.8781 MB / 345.5 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/0.03925, allocations: 336.8 kB / 345.8 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.03938, allocations: 33.05 kB / 345.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.03942, allocations: 47.56 kB / 345.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.635e-06/0.03942, allocations: 0 / 345.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002277/0.0417, allocations: 1.007 MB / 346.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.04177, allocations: 90.11 kB / 347 MB, free: 14.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.04217, allocations: 339.8 kB / 347.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.04222, allocations: 37.7 kB / 347.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.04251, allocations: 396.1 kB / 347.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.04277, allocations: 309.3 kB / 348.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.04305, allocations: 178.9 kB / 348.2 MB, free: 13.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.04323, allocations: 358.8 kB / 348.6 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.04373, allocations: 274.5 kB / 348.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.04441, allocations: 479.4 kB / 349.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.04563, allocations: 0.7706 MB / 350.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.04564, allocations: 4 kB / 350.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001865/0.0475, allocations: 0.9808 MB / 351.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.04752, allocations: 8 kB / 351.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.04754, allocations: 8 kB / 351.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.04796, allocations: 119.5 kB / 351.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/0.04882, allocations: 211.6 kB / 351.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004799/0.05362, allocations: 5.587 MB / 357 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.05428, allocations: 103.2 kB / 357.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.05436, allocations: 43.98 kB / 357.1 MB, free: 4.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003502/0.05471, allocations: 225.6 kB / 357.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.05483, allocations: 47.72 kB / 357.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.05646, allocations: 0.8356 MB / 358.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.05647, allocations: 15.98 kB / 358.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.05647, allocations: 0 / 358.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.05649, allocations: 7.969 kB / 358.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.05942, allocations: 1.58 MB / 359.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.05943, allocations: 4 kB / 359.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.06007, allocations: 139.7 kB / 360 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003107/0.06038, allocations: 107.6 kB / 360.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.06043, allocations: 24 kB / 360.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/0.06469, allocations: 5.189 MB / 365.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.0647, allocations: 4 kB / 365.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.06673, allocations: 1.269 MB / 366.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.06685, allocations: 63.55 kB / 366.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/0.06693, allocations: 16 kB / 366.7 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.06735, allocations: 20 kB / 366.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.06748, allocations: 76.41 kB / 366.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.06753, allocations: 24.27 kB / 366.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.0678, allocations: 223.1 kB / 367 MB, free: 9.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0678, allocations: 0 / 367 MB, free: 9.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001048/0.06885, allocations: 271.4 kB / 367.3 MB, free: 9.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003102/0.06916, allocations: 167.1 kB / 367.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.07101, allocations: 1.133 MB / 368.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.07101, allocations: 0 / 368.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.07199, allocations: 0.762 MB / 369.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.07257, allocations: 68.36 kB / 369.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.07532, allocations: 1.324 MB / 370.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.07571, allocations: 318.4 kB / 371 MB, free: 5.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004123/0.07612, allocations: 104.9 kB / 371.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.0763, allocations: 60.48 kB / 371.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.0763, allocations: 3.938 kB / 371.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Templates: time 0.01573/0.09203, allocations: 6.945 MB / 378.1 MB, free: 14.33 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: 4.817384283989668]