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.0009149/0.0009149, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004346/0.004346, allocations: 157.2 kB / 24.7 MB, free: 9.422 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.8377/0.8377, allocations: 177 MB / 204.9 MB, free: 5.758 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.733e-06/1.733e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.718e-05, allocations: 3.266 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002354/0.002381, allocations: 2.019 MB / 327.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002849/0.002666, allocations: 167.4 kB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.187e-05/0.002748, allocations: 7.938 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.002863, allocations: 27.72 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.002924, allocations: 51.52 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.003063, allocations: 51.86 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.003227, allocations: 187.1 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.003375, allocations: 34.48 kB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.003458, allocations: 103.8 kB / 328.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.00354, allocations: 51.88 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.003569, allocations: 12 kB / 328.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.003587, allocations: 16 kB / 328.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.003612, allocations: 35.83 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.003656, allocations: 59.84 kB / 328.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.00383, allocations: 187.3 kB / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003833, allocations: 0 / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.003834, allocations: 0 / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.003838, allocations: 0 / 328.8 MB, free: 12.39 MB / 298.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.0004392/0.004278, allocations: 389.4 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.004313, allocations: 15.98 kB / 329.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.004353, allocations: 20.8 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.004542, allocations: 150.2 kB / 329.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.004557, allocations: 12.38 kB / 329.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.004587, allocations: 28.31 kB / 329.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.00479, allocations: 178.4 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.004804, allocations: 4.172 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.004819, allocations: 8.375 kB / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.004826, allocations: 8.125 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.004947, allocations: 91.89 kB / 329.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.00569, allocations: 0.8538 MB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.005786, allocations: 95.83 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.005827, allocations: 50.66 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.005835, allocations: 0 / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.005853, allocations: 38.56 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.005854, allocations: 0 / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002124/0.006067, allocations: 125.9 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.006106, allocations: 106.8 kB / 330.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006211, allocations: 166.2 kB / 331.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.006222, allocations: 29.7 kB / 331.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.006293, allocations: 156.1 kB / 331.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.006321, allocations: 51.53 kB / 331.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.006366, allocations: 45.94 kB / 331.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.006439, allocations: 322.8 kB / 331.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.006487, allocations: 36.45 kB / 331.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.006571, allocations: 146.6 kB / 331.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.006718, allocations: 205.5 kB / 332 MB, free: 8.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.006721, allocations: 4 kB / 332 MB, free: 8.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001971/0.006918, allocations: 213.2 kB / 332.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.006933, allocations: 8 kB / 332.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.006939, allocations: 7.938 kB / 332.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.006955, allocations: 4 kB / 332.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.007058, allocations: 51.92 kB / 332.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.007065, allocations: 4 kB / 332.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.007127, allocations: 20.25 kB / 332.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.007137, allocations: 16 kB / 332.4 MB, free: 8.434 MB / 298.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 7.484e-05/0.007212, allocations: 141.6 kB / 332.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.007247, allocations: 11.95 kB / 332.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.007276, allocations: 16.34 kB / 332.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.007279, allocations: 4 kB / 332.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007283, allocations: 0 / 332.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.007288, allocations: 3.984 kB / 332.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.007518, allocations: 173.2 kB / 332.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007519, allocations: 0 / 332.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.852e-05/0.007598, allocations: 31.92 kB / 332.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.007601, allocations: 8 kB / 332.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.007611, allocations: 0 / 332.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.007614, allocations: 7.984 kB / 332.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007615, allocations: 0 / 332.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.00809, allocations: 389.7 kB / 333.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.008108, allocations: 15.84 kB / 333.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.008125, allocations: 12.05 kB / 333.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.008205, allocations: 144 / 333.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.008223, allocations: 11.97 kB / 333.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.008228, allocations: 8.125 kB / 333.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.274e-05/0.008281, allocations: 120.1 kB / 333.3 MB, free: 7.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008281, allocations: 8 kB / 333.3 MB, free: 7.434 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.008511, allocations: 39.95 kB / 333.3 MB, free: 7.395 MB / 298.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.408e-05/0.008595, allocations: 95.19 kB / 333.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.008742, allocations: 111.7 kB / 333.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008743, allocations: 0.8125 kB / 333.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.008775, allocations: 39.92 kB / 333.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.009109, allocations: 34.88 kB / 333.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.009666, allocations: 0.5098 MB / 334.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.4e-05/0.00974, allocations: 116.2 kB / 334.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.009772, allocations: 16.5 kB / 334.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009773, allocations: 0 / 334.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of Templates: time 0.002345/0.01212, allocations: 1.963 MB / 336.2 MB, free: 4.445 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.030166195705533]