Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007363/0.0007363, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002058, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002293, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.951/0.951, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0819/1.033, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.34e-05, allocations: 6.875 kB / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003797/0.00382, allocations: 2.137 MB / 241.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000383/0.004203, allocations: 163.2 kB / 241.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.004303, allocations: 4 kB / 241.9 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.977e-05/0.004403, allocations: 31.72 kB / 241.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.004521, allocations: 55.48 kB / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.004648, allocations: 47.88 kB / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.004895, allocations: 183.1 kB / 242.2 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.005036, allocations: 43.11 kB / 242.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.005196, allocations: 111.7 kB / 242.3 MB, free: 408 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.005322, allocations: 55.8 kB / 242.4 MB, free: 352 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.00536, allocations: 16 kB / 242.4 MB, free: 336 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.766e-05/0.005387, allocations: 16 kB / 242.4 MB, free: 320 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.005419, allocations: 27.88 kB / 242.4 MB, free: 292 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.005492, allocations: 43.94 kB / 242.5 MB, free: 248 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.005697, allocations: 111.6 kB / 242.6 MB, free: 136 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.005714, allocations: 0 / 242.6 MB, free: 136 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005716, allocations: 0 / 242.6 MB, free: 136 kB / 234.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.005736, allocations: 0 / 242.6 MB, free: 136 kB / 234.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.0006614/0.006398, allocations: 404 kB / 243 MB, free: 15.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.006433, allocations: 12.03 kB / 243 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.006492, allocations: 28.91 kB / 243 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.006696, allocations: 149.5 kB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.006713, allocations: 16.31 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.006748, allocations: 16.38 kB / 243.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.006976, allocations: 162.1 kB / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.006992, allocations: 4.188 kB / 243.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.007006, allocations: 4.375 kB / 243.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.007016, allocations: 12.12 kB / 243.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.007119, allocations: 47.91 kB / 243.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009845/0.008104, allocations: 0.7596 MB / 244.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.008212, allocations: 83.73 kB / 244.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.008251, allocations: 26.52 kB / 244.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.008262, allocations: 8.172 kB / 244.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.008292, allocations: 38.56 kB / 244.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.008293, allocations: 0 / 244.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002172/0.008511, allocations: 93.53 kB / 244.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.008625, allocations: 102.8 kB / 244.5 MB, free: 13.99 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.008756, allocations: 166.5 kB / 244.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.008772, allocations: 29.7 kB / 244.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.008843, allocations: 144.1 kB / 244.9 MB, free: 13.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.008886, allocations: 55.55 kB / 244.9 MB, free: 13.58 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.008947, allocations: 45.88 kB / 245 MB, free: 13.53 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.009043, allocations: 326.8 kB / 245.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.009076, allocations: 16.47 kB / 245.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.009172, allocations: 122.6 kB / 245.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.009328, allocations: 169.5 kB / 245.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.009333, allocations: 4 kB / 245.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002179/0.009551, allocations: 157.9 kB / 245.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.009568, allocations: 4 kB / 245.7 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.009577, allocations: 8.391 kB / 245.7 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.009594, allocations: 12 kB / 245.8 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.009766, allocations: 55.92 kB / 245.8 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.009774, allocations: 7.984 kB / 245.8 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/0.009874, allocations: 23.84 kB / 245.8 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.009887, allocations: 8 kB / 245.8 MB, free: 12.52 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.584e-05/0.009973, allocations: 125.7 kB / 246 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.01004, allocations: 19.86 kB / 246 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.01008, allocations: 16.34 kB / 246 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01009, allocations: 7.938 kB / 246 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01009, allocations: 0 / 246 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.01009, allocations: 8 kB / 246 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.01044, allocations: 117.8 kB / 246.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.01044, allocations: 4 kB / 246.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.01059, allocations: 27.98 kB / 246.2 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.01061, allocations: 19.78 kB / 246.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01062, allocations: 4 kB / 246.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.01063, allocations: 0 / 246.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01064, allocations: 3.984 kB / 246.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01064, allocations: 4 kB / 246.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.01087, allocations: 342 kB / 246.5 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.01089, allocations: 11.92 kB / 246.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.01103, allocations: 4 kB / 246.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.01105, allocations: 7.984 kB / 246.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01106, allocations: 4 kB / 246.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.01111, allocations: 38.3 kB / 246.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01111, allocations: 0 / 246.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.01145, allocations: 43.95 kB / 246.6 MB, free: 11.68 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 9.885e-05/0.01155, allocations: 88.28 kB / 246.7 MB, free: 11.58 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.01169, allocations: 93 kB / 246.8 MB, free: 11.49 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.0117, allocations: 4 kB / 246.8 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.01174, allocations: 40.83 kB / 246.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.01218, allocations: 39.91 kB / 246.9 MB, free: 11.4 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.01341, allocations: 355.2 kB / 247.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.75e-05/0.01347, allocations: 75.98 kB / 247.3 MB, free: 10.93 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.848e-05/0.01354, allocations: 14.03 kB / 247.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.01363, allocations: 75.36 kB / 247.4 MB, free: 10.84 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01363, allocations: 4 kB / 247.4 MB, free: 10.84 MB / 250.7 MB Notification: Performance of Templates: time 0.003154/0.01679, allocations: 1.326 MB / 248.7 MB, free: 9.535 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.531614664942026]