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.00113/0.00113, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001108/0.001108, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9612/0.9612, allocations: 177 MB / 204.8 MB, free: 5.602 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.523e-06/1.523e-06, allocations: 0 / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.053e-05, allocations: 6.25 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00228/0.002301, allocations: 2.133 MB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.00262, allocations: 163.4 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.002701, allocations: 4 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.002821, allocations: 27.72 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.002889, allocations: 55.5 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.003031, allocations: 43.88 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.003203, allocations: 187 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.00333, allocations: 50.44 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.003424, allocations: 99.78 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.003519, allocations: 51.88 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.003543, allocations: 12 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.003564, allocations: 16 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.003594, allocations: 39.83 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.003641, allocations: 55.84 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.003806, allocations: 111.6 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003808, allocations: 3.938 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003809, allocations: 0 / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003814, allocations: 4 kB / 275.9 MB, free: 14.43 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.000466/0.00428, allocations: 491.8 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.004317, allocations: 11.98 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.004378, allocations: 40.8 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.004782, allocations: 152.4 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.004801, allocations: 12.38 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.004849, allocations: 28.31 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.005043, allocations: 164.6 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.005058, allocations: 12.11 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.005072, allocations: 4.375 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.005083, allocations: 8.125 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.643e-05/0.005179, allocations: 75.88 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.005947, allocations: 1.063 MB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.006048, allocations: 117.3 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.006089, allocations: 47.08 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.006098, allocations: 4 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.006119, allocations: 37.39 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.00612, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002124/0.006332, allocations: 109.5 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.006372, allocations: 110.8 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.006483, allocations: 229.6 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.006493, allocations: 25.7 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/0.006568, allocations: 202.9 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.006594, allocations: 47.53 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.006641, allocations: 51.59 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.00675, allocations: 0.4962 MB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.618e-05/0.006786, allocations: 20.45 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.601e-05/0.006882, allocations: 171.9 kB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.007033, allocations: 223.2 kB / 279.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.007036, allocations: 4 kB / 279.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001921/0.007228, allocations: 193.2 kB / 280 MB, free: 9.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007243, allocations: 8 kB / 280 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.007254, allocations: 4 kB / 280 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.007272, allocations: 4.406 kB / 280.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.007369, allocations: 59.84 kB / 280.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.007377, allocations: 4 kB / 280.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.007434, allocations: 23.84 kB / 280.1 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.007445, allocations: 12 kB / 280.1 MB, free: 9.77 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 7.696e-05/0.007522, allocations: 172.4 kB / 280.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.007564, allocations: 23.91 kB / 280.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.007598, allocations: 20.33 kB / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.0076, allocations: 0 / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.007605, allocations: 4 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.007608, allocations: 0 / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.007828, allocations: 180.5 kB / 280.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.00783, allocations: 4 kB / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.007915, allocations: 35.92 kB / 280.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.007916, allocations: 0 / 280.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.007931, allocations: 4 kB / 280.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007932, allocations: 4 kB / 280.6 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007933, allocations: 0 / 280.6 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.008168, allocations: 0.498 MB / 281.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.008182, allocations: 15.84 kB / 281.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.008201, allocations: 4 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.008273, allocations: 8 kB / 281.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.008293, allocations: 7.984 kB / 281.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.008297, allocations: 4 kB / 281.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.496e-05/0.008352, allocations: 156 kB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008352, allocations: 0 / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.008582, allocations: 39.95 kB / 281.3 MB, free: 8.535 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.25e-05/0.008654, allocations: 103.2 kB / 281.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.00879, allocations: 100.1 kB / 281.5 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008791, allocations: 0 / 281.5 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.008821, allocations: 36.09 kB / 281.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.009133, allocations: 40.81 kB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.009695, allocations: 0.4982 MB / 282.1 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.009744, allocations: 75.98 kB / 282.2 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.885e-05/0.009783, allocations: 13.48 kB / 282.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.009812, allocations: 16.5 kB / 282.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009812, allocations: 0 / 282.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of Templates: time 0.003008/0.01282, allocations: 1.194 MB / 283.4 MB, free: 6.414 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.763589915819466]