Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.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.0007675/0.0007675, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001801, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007071/0.0007071, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009051/0.001612, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9155/0.9155, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08405/0.9996, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.772e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003491/0.003518, allocations: 2.164 MB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000402/0.00392, allocations: 179.2 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.004029, allocations: 0 / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.00414, allocations: 31.67 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.004245, allocations: 55.48 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.004377, allocations: 35.95 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.004626, allocations: 191.1 kB / 247.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.004777, allocations: 43.12 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.004932, allocations: 115.7 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.00505, allocations: 51.81 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.005083, allocations: 16 kB / 247.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.453e-05/0.005108, allocations: 12 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.005143, allocations: 27.88 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.005207, allocations: 47.94 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.005413, allocations: 111.5 kB / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.9e-05/0.005432, allocations: 0 / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005434, allocations: 0 / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.005458, allocations: 4 kB / 247.6 MB, free: 11.25 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006671/0.006125, allocations: 391.9 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.006174, allocations: 15.97 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.006239, allocations: 32.91 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.006484, allocations: 152.9 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.006505, allocations: 12.16 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.006545, allocations: 20.38 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.006753, allocations: 154.4 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.006768, allocations: 4.188 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.006782, allocations: 4.375 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.006791, allocations: 8.125 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.006887, allocations: 55.89 kB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.007827, allocations: 0.752 MB / 249.2 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.007936, allocations: 87.62 kB / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.007974, allocations: 42.78 kB / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.007984, allocations: 0 / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.008014, allocations: 38.5 kB / 249.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.008015, allocations: 0 / 249.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002068/0.008222, allocations: 89.58 kB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.008279, allocations: 102.8 kB / 249.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.008413, allocations: 169.1 kB / 249.7 MB, free: 8.941 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.00843, allocations: 33.7 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.008509, allocations: 140.1 kB / 249.8 MB, free: 8.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.008555, allocations: 55.52 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.008615, allocations: 45.92 kB / 249.9 MB, free: 8.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.008724, allocations: 330.8 kB / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.008755, allocations: 16.45 kB / 250.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.008852, allocations: 130.6 kB / 250.4 MB, free: 8.129 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.009004, allocations: 158.1 kB / 250.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.009008, allocations: 4 kB / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002015/0.009209, allocations: 165.4 kB / 250.7 MB, free: 7.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.009228, allocations: 11.59 kB / 250.7 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.009238, allocations: 8 kB / 250.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.009251, allocations: 4 kB / 250.8 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.009393, allocations: 55.91 kB / 250.8 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.009401, allocations: 7.938 kB / 250.8 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.009484, allocations: 23.84 kB / 250.8 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.009495, allocations: 8 kB / 250.9 MB, free: 7.641 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/0.009576, allocations: 129.7 kB / 251 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.009633, allocations: 20.05 kB / 251 MB, free: 7.484 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.009671, allocations: 16.34 kB / 251 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.009674, allocations: 4 kB / 251 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.009678, allocations: 3.984 kB / 251 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009682, allocations: 0 / 251 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.009966, allocations: 117.8 kB / 251.1 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.00997, allocations: 0 / 251.1 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.01009, allocations: 27.98 kB / 251.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.01012, allocations: 27.77 kB / 251.2 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01012, allocations: 0 / 251.2 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01013, allocations: 4 kB / 251.2 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.01014, allocations: 11.94 kB / 251.2 MB, free: 7.258 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01014, allocations: 0 / 251.2 MB, free: 7.258 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.01038, allocations: 342 kB / 251.5 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.0104, allocations: 7.938 kB / 251.5 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.01052, allocations: 4 kB / 251.6 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.01054, allocations: 3.984 kB / 251.6 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.01054, allocations: 4 kB / 251.6 MB, free: 6.887 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.159e-05/0.01059, allocations: 45.41 kB / 251.6 MB, free: 6.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01059, allocations: 0 / 251.6 MB, free: 6.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.01088, allocations: 39.94 kB / 251.6 MB, free: 6.801 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.01099, allocations: 84.42 kB / 251.7 MB, free: 6.707 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01113, allocations: 84.62 kB / 251.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.01115, allocations: 7.984 kB / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.01118, allocations: 24.8 kB / 251.8 MB, free: 6.586 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.01157, allocations: 44.22 kB / 251.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.0127, allocations: 362.4 kB / 252.2 MB, free: 6.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.01276, allocations: 75.98 kB / 252.3 MB, free: 6.066 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.01282, allocations: 21.47 kB / 252.3 MB, free: 6.047 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.01289, allocations: 67.38 kB / 252.4 MB, free: 5.98 MB / 250.7 MB Notification: Performance of SimCode: time 1.332e-06/0.01289, allocations: 0 / 252.4 MB, free: 5.98 MB / 250.7 MB Notification: Performance of Templates: time 0.002859/0.01575, allocations: 1.326 MB / 253.7 MB, free: 4.676 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.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.3174312049522996]