Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.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.001009/0.001009, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001104/0.001104, allocations: 158.9 kB / 25.61 MB, free: 8.891 MB / 18.57 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 0.9298/0.9298, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.296e-05, allocations: 2.312 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00242/0.002443, allocations: 2.114 MB / 276.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003561/0.002799, allocations: 159.6 kB / 276.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.002886, allocations: 7.938 kB / 276.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.00301, allocations: 27.72 kB / 276.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.824e-05/0.003088, allocations: 55.48 kB / 276.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.00322, allocations: 48.81 kB / 276.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.00338, allocations: 175.8 kB / 276.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.003506, allocations: 50.39 kB / 276.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.345e-05/0.003599, allocations: 101 kB / 276.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.003689, allocations: 55.86 kB / 276.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.00371, allocations: 12 kB / 276.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.003727, allocations: 13.16 kB / 276.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.003762, allocations: 35.84 kB / 276.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.003809, allocations: 59.84 kB / 277 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003955, allocations: 112.3 kB / 277.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003957, allocations: 0 / 277.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003958, allocations: 6.125 kB / 277.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.003961, allocations: 0 / 277.1 MB, free: 1.277 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.0004303/0.004392, allocations: 495.8 kB / 277.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.004421, allocations: 12.03 kB / 277.6 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.004473, allocations: 36.8 kB / 277.6 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.004627, allocations: 156.3 kB / 277.8 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.004643, allocations: 20.36 kB / 277.8 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.004668, allocations: 20.33 kB / 277.8 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.004821, allocations: 152.6 kB / 278 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.004835, allocations: 16.09 kB / 278 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.004848, allocations: 8.375 kB / 278 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.004856, allocations: 8.125 kB / 278 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.984e-05/0.004926, allocations: 63.12 kB / 278.1 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.005663, allocations: 1.036 MB / 279.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.005752, allocations: 117.2 kB / 279.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.005782, allocations: 39.08 kB / 279.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.00579, allocations: 4 kB / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.005812, allocations: 41.39 kB / 279.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.005813, allocations: 0 / 279.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001842/0.005997, allocations: 105.5 kB / 279.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.006039, allocations: 110.8 kB / 279.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.006146, allocations: 223.4 kB / 279.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.006154, allocations: 25.7 kB / 279.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.006229, allocations: 198.9 kB / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.006256, allocations: 51.52 kB / 280 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.0063, allocations: 47.59 kB / 280.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.006424, allocations: 0.5001 MB / 280.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.006449, allocations: 16.45 kB / 280.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.006541, allocations: 167.9 kB / 280.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.006685, allocations: 215.2 kB / 280.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.006688, allocations: 4 kB / 280.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001926/0.006881, allocations: 185.1 kB / 281.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.006894, allocations: 4 kB / 281.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.006901, allocations: 4 kB / 281.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.006912, allocations: 8.344 kB / 281.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.007013, allocations: 59.91 kB / 281.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.007022, allocations: 4 kB / 281.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.007087, allocations: 23.84 kB / 281.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.007095, allocations: 8 kB / 281.2 MB, free: 12.71 MB / 266.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.682e-05/0.007182, allocations: 176.5 kB / 281.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.00723, allocations: 15.89 kB / 281.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.007266, allocations: 20.33 kB / 281.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.00727, allocations: 4 kB / 281.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.007276, allocations: 4 kB / 281.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.007282, allocations: 0 / 281.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.007521, allocations: 145.2 kB / 281.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.007525, allocations: 7.984 kB / 281.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.00761, allocations: 35.92 kB / 281.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.007613, allocations: 3.938 kB / 281.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.007624, allocations: 0 / 281.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007625, allocations: 4 kB / 281.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007626, allocations: 0 / 281.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.00787, allocations: 498.1 kB / 282.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.00789, allocations: 23.83 kB / 282.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.007906, allocations: 3.938 kB / 282.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.007985, allocations: 8 kB / 282.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.008, allocations: 7.984 kB / 282.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.008004, allocations: 4 kB / 282.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.008065, allocations: 152.7 kB / 282.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008065, allocations: 0 / 282.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.008319, allocations: 43.95 kB / 282.4 MB, free: 11.52 MB / 266.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.0001297/0.008449, allocations: 99.19 kB / 282.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.008595, allocations: 97.55 kB / 282.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.008596, allocations: 0 / 282.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.008625, allocations: 35.88 kB / 282.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.008959, allocations: 33.56 kB / 282.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.009492, allocations: 0.4984 MB / 283.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.151e-05/0.009543, allocations: 75.84 kB / 283.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.009591, allocations: 17.48 kB / 283.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.009662, allocations: 90.19 kB / 283.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009662, allocations: 4 kB / 283.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Templates: time 0.003036/0.0127, allocations: 1.328 MB / 284.6 MB, free: 9.207 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6787594221532345]