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.001408/0.001408, allocations: 85.39 kB / 20.68 MB, free: 1.035 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.001516/0.001516, allocations: 161.8 kB / 23.96 MB, free: 4.164 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.457/1.457, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.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 1.222e-06/1.222e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.849e-05, allocations: 7.438 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00316/0.003179, allocations: 2.012 MB / 327 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.003656, allocations: 160 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.003799, allocations: 12.34 kB / 327.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.003942, allocations: 29.44 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.004067, allocations: 47.58 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.004238, allocations: 47.06 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.004498, allocations: 188.1 kB / 327.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.004638, allocations: 40.47 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.004774, allocations: 106.3 kB / 327.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.004894, allocations: 51.02 kB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.004925, allocations: 13.62 kB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.004957, allocations: 13.97 kB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.004999, allocations: 30.42 kB / 327.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.005082, allocations: 61.53 kB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.005341, allocations: 180.7 kB / 328 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005343, allocations: 1.156 kB / 328 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005344, allocations: 0 / 328 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.005349, allocations: 4 kB / 328 MB, free: 14.62 MB / 302.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.0006247/0.005974, allocations: 389.7 kB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.006006, allocations: 15.8 kB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.006056, allocations: 21.23 kB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.006299, allocations: 153.8 kB / 328.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.006317, allocations: 15.59 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.00635, allocations: 23.09 kB / 328.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.006656, allocations: 181.4 kB / 328.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.006672, allocations: 1.906 kB / 328.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.006692, allocations: 6.594 kB / 328.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.006704, allocations: 12.52 kB / 328.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.006888, allocations: 98.69 kB / 328.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.008144, allocations: 0.8465 MB / 329.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.008293, allocations: 100 kB / 329.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.008357, allocations: 43.12 kB / 329.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.008367, allocations: 1.531 kB / 329.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.008394, allocations: 34.81 kB / 329.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.008395, allocations: 0 / 329.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003116/0.008707, allocations: 129.1 kB / 330 MB, free: 12.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.008779, allocations: 106.1 kB / 330.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.008961, allocations: 174.6 kB / 330.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.008983, allocations: 27.47 kB / 330.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.009087, allocations: 148.3 kB / 330.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.009141, allocations: 54.86 kB / 330.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.009212, allocations: 44.23 kB / 330.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.009367, allocations: 327.1 kB / 330.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.009439, allocations: 37.95 kB / 330.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.009606, allocations: 153 kB / 331.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.009862, allocations: 204.5 kB / 331.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.009865, allocations: 1.188 kB / 331.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003337/0.0102, allocations: 214.8 kB / 331.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.01021, allocations: 6.875 kB / 331.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01022, allocations: 3.938 kB / 331.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01024, allocations: 5.594 kB / 331.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.0104, allocations: 51.89 kB / 331.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01041, allocations: 6.25 kB / 331.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.01052, allocations: 22.59 kB / 331.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01054, allocations: 10.22 kB / 331.6 MB, free: 11.66 MB / 302.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.0001323/0.01067, allocations: 139.5 kB / 331.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.01074, allocations: 15.27 kB / 331.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.01079, allocations: 18.19 kB / 331.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01079, allocations: 2.719 kB / 331.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.0108, allocations: 1.469 kB / 331.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.0108, allocations: 1.922 kB / 331.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.0112, allocations: 175.2 kB / 331.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0112, allocations: 1.031 kB / 331.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01136, allocations: 31.67 kB / 332 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01137, allocations: 2.969 kB / 332 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01138, allocations: 5.188 kB / 332 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01138, allocations: 1.891 kB / 332 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01139, allocations: 5.156 kB / 332 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.01174, allocations: 390.6 kB / 332.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.01176, allocations: 16.33 kB / 332.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.01179, allocations: 6.5 kB / 332.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.01194, allocations: 1.312 kB / 332.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.01197, allocations: 12.66 kB / 332.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.01198, allocations: 3.891 kB / 332.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.01208, allocations: 123.1 kB / 332.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01208, allocations: 0 / 332.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.01248, allocations: 39.89 kB / 332.6 MB, free: 10.89 MB / 302.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.000111/0.01259, allocations: 107.9 kB / 332.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.01281, allocations: 102.1 kB / 332.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01281, allocations: 0 / 332.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.01287, allocations: 36.52 kB / 332.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.01338, allocations: 43.17 kB / 332.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.01424, allocations: 0.501 MB / 333.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.01436, allocations: 119.6 kB / 333.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.01442, allocations: 13.39 kB / 333.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.01445, allocations: 20.47 kB / 333.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01445, allocations: 0 / 333.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Templates: time 0.004119/0.01857, allocations: 1.153 MB / 334.6 MB, free: 9.645 MB / 302.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.203008405864239]