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.0009836/0.0009836, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001031/0.001031, allocations: 170 kB / 24.82 MB, free: 9.254 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.9784/0.9784, allocations: 177 MB / 205.1 MB, free: 5.484 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.312e-06/1.312e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.206e-05, allocations: 2.312 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002592/0.002604, allocations: 2.109 MB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.002942, allocations: 159.4 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.003035, allocations: 7.938 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.003161, allocations: 35.66 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.003244, allocations: 43.56 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.003384, allocations: 51.88 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.003576, allocations: 183.1 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.003739, allocations: 50.44 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.003854, allocations: 99.78 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.003962, allocations: 51.81 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.003987, allocations: 12 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.491e-05/0.004012, allocations: 16 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.004048, allocations: 39.83 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.004107, allocations: 51.91 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.004275, allocations: 119.5 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.004277, allocations: 0 / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004277, allocations: 4 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004281, allocations: 0 / 276.3 MB, free: 14.21 MB / 266.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.000759/0.00504, allocations: 491.8 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.365e-05/0.005134, allocations: 15.98 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.005181, allocations: 32.8 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005337, allocations: 160.4 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.005356, allocations: 12.38 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.00539, allocations: 24.31 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.005577, allocations: 160.5 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.005592, allocations: 8.172 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.005604, allocations: 4.375 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.005614, allocations: 8.125 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.624e-05/0.0057, allocations: 59.88 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008214/0.006521, allocations: 1.036 MB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.006626, allocations: 121.2 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.006671, allocations: 47.14 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.006679, allocations: 3.938 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.006838, allocations: 41.33 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.006839, allocations: 0 / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002063/0.007045, allocations: 101.5 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.007086, allocations: 106.8 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.007208, allocations: 229.6 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.007218, allocations: 29.7 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.007301, allocations: 190.9 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.007339, allocations: 63.52 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.007398, allocations: 47.59 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.007535, allocations: 0.4962 MB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.007569, allocations: 24.39 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.007679, allocations: 163.9 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.007854, allocations: 202.8 kB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.007859, allocations: 4 kB / 280.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002407/0.008099, allocations: 193.8 kB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.008114, allocations: 11.12 kB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.008121, allocations: 0 / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.008136, allocations: 8 kB / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.008278, allocations: 47.91 kB / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.008288, allocations: 11.94 kB / 280.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.008383, allocations: 23.84 kB / 280.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.008394, allocations: 4.094 kB / 280.5 MB, free: 9.648 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 9.003e-05/0.008484, allocations: 180.7 kB / 280.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.008552, allocations: 23.83 kB / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.008592, allocations: 20.33 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.008599, allocations: 4 kB / 280.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.008601, allocations: 0 / 280.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008604, allocations: 0 / 280.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.008934, allocations: 149.2 kB / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008936, allocations: 0 / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.009051, allocations: 31.92 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.009056, allocations: 7.922 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.00907, allocations: 4 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009071, allocations: 4 kB / 280.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009072, allocations: 0 / 280.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.00934, allocations: 498.1 kB / 281.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.009362, allocations: 19.83 kB / 281.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.009381, allocations: 7.938 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.009521, allocations: 4 kB / 281.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.00954, allocations: 11.92 kB / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.009546, allocations: 4 kB / 281.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.009612, allocations: 152 kB / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009612, allocations: 0 / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.01003, allocations: 43.95 kB / 281.6 MB, free: 8.449 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 8.622e-05/0.01012, allocations: 103.2 kB / 281.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.01026, allocations: 87.39 kB / 281.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01026, allocations: 0 / 281.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.0103, allocations: 40.39 kB / 281.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.01072, allocations: 31.25 kB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.01154, allocations: 0.5101 MB / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.572e-05/0.0116, allocations: 71.98 kB / 282.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.613e-05/0.01165, allocations: 13.48 kB / 282.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.01172, allocations: 94.19 kB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01172, allocations: 4 kB / 282.5 MB, free: 7.426 MB / 266.7 MB Notification: Performance of Templates: time 0.003391/0.01511, allocations: 1.291 MB / 283.8 MB, free: 6.152 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.4661018340848386]