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.00133/0.00133, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001478/0.001478, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9481/0.9481, allocations: 177 MB / 205.2 MB, free: 5.02 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.352e-06/1.352e-06, allocations: 0 / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.126e-05, allocations: 5.266 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002626/0.002647, allocations: 2.101 MB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004623/0.00311, allocations: 175.2 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.003193, allocations: 4 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003311, allocations: 35.66 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.003389, allocations: 47.5 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.003531, allocations: 51.88 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.003703, allocations: 179.1 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003814, allocations: 51.09 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.003915, allocations: 103.8 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.004004, allocations: 51.81 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.004029, allocations: 12 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.004047, allocations: 16 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.004075, allocations: 35.83 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.004119, allocations: 55.91 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.004267, allocations: 119.4 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.00427, allocations: 8 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004271, allocations: 0 / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004275, allocations: 0 / 276.4 MB, free: 14.01 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.0003541/0.004629, allocations: 364.2 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.004659, allocations: 15.98 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.004698, allocations: 24.92 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.004846, allocations: 141.5 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.004859, allocations: 20.38 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.004885, allocations: 16.38 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.005023, allocations: 150.4 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.005033, allocations: 4.188 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005044, allocations: 8.375 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005051, allocations: 8.125 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.005112, allocations: 55.78 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.005738, allocations: 0.7596 MB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.005819, allocations: 79.83 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.005846, allocations: 34.52 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.005853, allocations: 4 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.005872, allocations: 42.59 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.005873, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001488/0.006022, allocations: 93.92 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.006059, allocations: 102.8 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.006149, allocations: 174.4 kB / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.006159, allocations: 25.7 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.006214, allocations: 144.1 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.006244, allocations: 63.52 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.006284, allocations: 41.92 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.006356, allocations: 326.8 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.006378, allocations: 24.45 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.006443, allocations: 122.6 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.006554, allocations: 165.5 kB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.006558, allocations: 4 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001422/0.0067, allocations: 157.2 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.006713, allocations: 7.984 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.006719, allocations: 4 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.006731, allocations: 8 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.006822, allocations: 47.92 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.006828, allocations: 8 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.006884, allocations: 15.84 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.006894, allocations: 16.31 kB / 279.6 MB, free: 10.45 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 6.682e-05/0.00696, allocations: 133.7 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.006998, allocations: 15.94 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.007026, allocations: 20.33 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007029, allocations: 0 / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.007031, allocations: 0 / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.007035, allocations: 4 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.007241, allocations: 109.8 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007243, allocations: 0 / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.007319, allocations: 31.98 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007321, allocations: 0 / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.007333, allocations: 12.22 kB / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007334, allocations: 0 / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007335, allocations: 0 / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.00751, allocations: 353.9 kB / 280.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.007525, allocations: 15.84 kB / 280.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.007541, allocations: 11.94 kB / 280.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.007612, allocations: 0 / 280.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.007631, allocations: 11.98 kB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-06/0.007635, allocations: 4 kB / 280.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.735e-05/0.007663, allocations: 33.69 kB / 280.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007663, allocations: 0 / 280.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.007875, allocations: 47.94 kB / 280.4 MB, free: 9.613 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 7.494e-05/0.00795, allocations: 80.36 kB / 280.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.008056, allocations: 88.61 kB / 280.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.008061, allocations: 4 kB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.008086, allocations: 33.59 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.008345, allocations: 32.16 kB / 280.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.008792, allocations: 402.9 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.008839, allocations: 79.92 kB / 281.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.008879, allocations: 13.48 kB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.008942, allocations: 71.38 kB / 281.2 MB, free: 8.754 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008942, allocations: 0 / 281.2 MB, free: 8.754 MB / 266.7 MB Notification: Performance of Templates: time 0.002789/0.01173, allocations: 1.303 MB / 282.5 MB, free: 7.473 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.624349603895098]