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.0009226/0.0009226, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001972, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006758/0.0006758, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008863/0.001562, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9737/0.9737, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08868/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.51 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 1.353e-06/1.353e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.807e-05, allocations: 5.547 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002374/0.002392, allocations: 2.164 MB / 246.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003141/0.002706, allocations: 179.2 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.002781, allocations: 7.938 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.651e-05/0.002858, allocations: 27.72 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.002933, allocations: 55.5 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.003037, allocations: 39.94 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.003209, allocations: 187.1 kB / 247.4 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.003319, allocations: 43.12 kB / 247.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.003428, allocations: 119.7 kB / 247.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.003521, allocations: 43.88 kB / 247.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.003547, allocations: 16 kB / 247.6 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.003566, allocations: 12 kB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.003596, allocations: 31.88 kB / 247.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.003637, allocations: 47.88 kB / 247.7 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.003788, allocations: 111.6 kB / 247.8 MB, free: 11.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.003798, allocations: 0 / 247.8 MB, free: 11.15 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003799, allocations: 3.938 kB / 247.8 MB, free: 11.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.003807, allocations: 0 / 247.8 MB, free: 11.14 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.0004276/0.004234, allocations: 399.8 kB / 248.2 MB, free: 10.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.004262, allocations: 8.031 kB / 248.2 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.004305, allocations: 32.92 kB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.004461, allocations: 149.5 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.004719, allocations: 12.16 kB / 248.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.004748, allocations: 20.38 kB / 248.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.004892, allocations: 154.4 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.004901, allocations: 192 / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.004916, allocations: 4.375 kB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.004923, allocations: 8.125 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.00499, allocations: 51.91 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.005599, allocations: 0.7675 MB / 249.4 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.005676, allocations: 83.73 kB / 249.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.005704, allocations: 34.52 kB / 249.5 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.005712, allocations: 4 kB / 249.5 MB, free: 9.281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.005733, allocations: 38.73 kB / 249.5 MB, free: 9.234 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.005734, allocations: 0 / 249.5 MB, free: 9.234 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001483/0.005883, allocations: 89.53 kB / 249.6 MB, free: 9.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.005926, allocations: 106.8 kB / 249.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.006015, allocations: 169.1 kB / 249.9 MB, free: 8.836 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.006025, allocations: 29.7 kB / 249.9 MB, free: 8.801 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.006078, allocations: 148.1 kB / 250 MB, free: 8.652 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.006105, allocations: 55.52 kB / 250.1 MB, free: 8.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.006145, allocations: 45.92 kB / 250.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.006215, allocations: 326.8 kB / 250.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.006235, allocations: 16.45 kB / 250.5 MB, free: 8.199 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.006298, allocations: 126.6 kB / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.006408, allocations: 174 kB / 250.8 MB, free: 7.809 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.006411, allocations: 0 / 250.8 MB, free: 7.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001392/0.00655, allocations: 165.2 kB / 250.9 MB, free: 7.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.006562, allocations: 8 kB / 250.9 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.006568, allocations: 4 kB / 250.9 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.00658, allocations: 4 kB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.00668, allocations: 56.31 kB / 251 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006685, allocations: 12 kB / 251 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.006745, allocations: 23.84 kB / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.006753, allocations: 8 kB / 251.1 MB, free: 7.527 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 6.256e-05/0.006816, allocations: 129.7 kB / 251.2 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.006855, allocations: 15.92 kB / 251.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.006885, allocations: 16.34 kB / 251.2 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006887, allocations: 0 / 251.2 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006891, allocations: 7.984 kB / 251.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006894, allocations: 0 / 251.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.007097, allocations: 109.8 kB / 251.3 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007099, allocations: 4 kB / 251.3 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.007177, allocations: 31.98 kB / 251.4 MB, free: 7.188 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.007194, allocations: 23.77 kB / 251.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007195, allocations: 0 / 251.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.007207, allocations: 8 kB / 251.4 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.007208, allocations: 0 / 251.4 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007209, allocations: 0 / 251.4 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.007382, allocations: 349.9 kB / 251.7 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.007398, allocations: 7.938 kB / 251.7 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.007471, allocations: 4 kB / 251.7 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.007487, allocations: 11.98 kB / 251.8 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.007492, allocations: 4 kB / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.007523, allocations: 37.47 kB / 251.8 MB, free: 6.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007523, allocations: 0 / 251.8 MB, free: 6.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.007737, allocations: 36 kB / 251.8 MB, free: 6.695 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 7.704e-05/0.007814, allocations: 88.36 kB / 251.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.007924, allocations: 89.73 kB / 252 MB, free: 6.508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.007933, allocations: 8.094 kB / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.007964, allocations: 33.48 kB / 252 MB, free: 6.465 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.008287, allocations: 220.8 kB / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.009089, allocations: 354.4 kB / 252.6 MB, free: 5.836 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.009134, allocations: 75.98 kB / 252.7 MB, free: 5.742 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.559e-05/0.009179, allocations: 17.42 kB / 252.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.009244, allocations: 71.36 kB / 252.8 MB, free: 5.656 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009245, allocations: 0 / 252.8 MB, free: 5.656 MB / 250.7 MB Notification: Performance of Templates: time 0.002845/0.01209, allocations: 1.167 MB / 253.9 MB, free: 4.508 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3004514379426837]