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.00144/0.00144, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001413/0.001413, allocations: 218.2 kB / 23 MB, free: 5.57 MB / 14.72 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 1.429/1.429, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001726/0.001726, allocations: 64.08 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2578, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003265/0.261, allocations: 2.122 MB / 431.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003545/0.2614, allocations: 171.4 kB / 432.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.2615, allocations: 4 kB / 432.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.2616, allocations: 31.72 kB / 432.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.227e-05/0.2617, allocations: 47.56 kB / 432.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.2619, allocations: 43.89 kB / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.2621, allocations: 179.2 kB / 432.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2622, allocations: 46.28 kB / 432.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.2623, allocations: 59.8 kB / 432.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.2625, allocations: 79.61 kB / 432.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.2625, allocations: 16 kB / 432.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.597e-05/0.2625, allocations: 12 kB / 432.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.2625, allocations: 31.86 kB / 432.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.2626, allocations: 79.61 kB / 432.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2629, allocations: 188.4 kB / 432.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2629, allocations: 0 / 432.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2629, allocations: 0 / 432.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.2629, allocations: 0 / 432.9 MB, free: 4.434 MB / 334.1 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.0006281/0.2635, allocations: 470.6 kB / 433.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2635, allocations: 8.031 kB / 433.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.2636, allocations: 28.8 kB / 433.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.2638, allocations: 212.1 kB / 433.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2639, allocations: 16.16 kB / 433.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.2639, allocations: 20.33 kB / 433.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.2642, allocations: 178.5 kB / 433.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.2642, allocations: 11.81 kB / 433.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2642, allocations: 15.98 kB / 433.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2642, allocations: 4 kB / 433.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.2644, allocations: 99.88 kB / 433.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.2657, allocations: 0.9548 MB / 434.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2658, allocations: 103.8 kB / 435 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.2659, allocations: 42.61 kB / 435 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.2659, allocations: 7.984 kB / 435 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.2659, allocations: 34.56 kB / 435.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2659, allocations: 4 kB / 435.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002831/0.2662, allocations: 125.5 kB / 435.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.2663, allocations: 106.8 kB / 435.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.2665, allocations: 207.8 kB / 435.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2665, allocations: 25.7 kB / 435.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2666, allocations: 140.1 kB / 435.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.2666, allocations: 59.5 kB / 435.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.2667, allocations: 41.95 kB / 435.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2669, allocations: 334.8 kB / 436.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.2669, allocations: 40.45 kB / 436.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2671, allocations: 142.6 kB / 436.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.2673, allocations: 202 kB / 436.5 MB, free: 460 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2673, allocations: 0 / 436.5 MB, free: 460 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003109/0.2676, allocations: 213.6 kB / 436.7 MB, free: 240 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2676, allocations: 12 kB / 436.7 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2676, allocations: 4 kB / 436.7 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2677, allocations: 4 kB / 436.7 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2678, allocations: 51.91 kB / 436.7 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2678, allocations: 7.938 kB / 436.7 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2679, allocations: 35.67 kB / 436.8 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.268, allocations: 16 kB / 436.8 MB, free: 108 kB / 334.1 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 0.0001175/0.2681, allocations: 129.8 kB / 436.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.2681, allocations: 19.91 kB / 436.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.2682, allocations: 20.92 kB / 437 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2682, allocations: 4 kB / 437 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2682, allocations: 0 / 437 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2682, allocations: 3.938 kB / 437 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.2686, allocations: 241.5 kB / 437.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2686, allocations: 0 / 437.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.2688, allocations: 27.98 kB / 437.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2688, allocations: 0 / 437.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2688, allocations: 8 kB / 437.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2688, allocations: 3.938 kB / 437.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2688, allocations: 15.88 kB / 437.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.2691, allocations: 381.9 kB / 437.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.2692, allocations: 89.02 kB / 437.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.2692, allocations: 12.05 kB / 437.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2693, allocations: 0 / 437.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.2694, allocations: 11.94 kB / 437.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2694, allocations: 11.98 kB / 437.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.2695, allocations: 149.5 kB / 437.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2695, allocations: 3.938 kB / 437.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.2699, allocations: 43.89 kB / 437.9 MB, free: 14.85 MB / 350.1 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.0001134/0.27, allocations: 99.25 kB / 438 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.2702, allocations: 108.1 kB / 438.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2702, allocations: 0 / 438.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.2702, allocations: 36.34 kB / 438.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.2707, allocations: 36.36 kB / 438.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/0.2717, allocations: 0.621 MB / 438.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.272, allocations: 0.7203 MB / 439.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.231e-05/0.2721, allocations: 25.94 kB / 439.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.2721, allocations: 15.44 kB / 439.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2721, allocations: 0 / 439.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of Templates: time 0.004157/0.2763, allocations: 1.437 MB / 441 MB, free: 11.7 MB / 350.1 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.258194274269044]