Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 47.92 kB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2809, allocations: 52.13 MB / 420.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003379/0.2843, allocations: 2.124 MB / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.2847, allocations: 171.3 kB / 423.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.77e-05/0.2848, allocations: 4 kB / 423.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.2849, allocations: 31.66 kB / 423.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.285, allocations: 47.58 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.2852, allocations: 39.94 kB / 423.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.2855, allocations: 183.2 kB / 423.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.2856, allocations: 45.56 kB / 423.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.2857, allocations: 63.78 kB / 423.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.2858, allocations: 79.62 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.2858, allocations: 15.94 kB / 423.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/0.2859, allocations: 16 kB / 423.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.2859, allocations: 35.84 kB / 423.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.286, allocations: 79.61 kB / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2862, allocations: 184.4 kB / 423.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2862, allocations: 0 / 423.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.2862, allocations: 3.984 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2862, allocations: 0 / 423.9 MB, free: 12.02 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.0006612/0.2869, allocations: 470.7 kB / 424.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2869, allocations: 15.89 kB / 424.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.287, allocations: 16.84 kB / 424.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2872, allocations: 220 kB / 424.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2873, allocations: 16.38 kB / 424.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.2873, allocations: 20.38 kB / 424.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.2876, allocations: 178.4 kB / 424.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.2876, allocations: 7.938 kB / 424.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2876, allocations: 4 kB / 424.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2877, allocations: 4 kB / 424.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.2878, allocations: 99.88 kB / 425 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2891, allocations: 0.9625 MB / 425.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.2893, allocations: 107.8 kB / 426 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.2893, allocations: 34.58 kB / 426.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2893, allocations: 4 kB / 426.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2894, allocations: 34.64 kB / 426.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.2894, allocations: 4 kB / 426.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003009/0.2897, allocations: 129.4 kB / 426.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.2897, allocations: 106.8 kB / 426.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.2899, allocations: 207.8 kB / 426.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.29, allocations: 25.7 kB / 426.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.2901, allocations: 140.1 kB / 426.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.2901, allocations: 55.58 kB / 426.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.2902, allocations: 41.95 kB / 426.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2903, allocations: 338.8 kB / 427.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.2904, allocations: 36.45 kB / 427.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.2906, allocations: 148 kB / 427.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.2908, allocations: 190.1 kB / 427.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2908, allocations: 0 / 427.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003134/0.2911, allocations: 225.2 kB / 427.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2911, allocations: 4 kB / 427.7 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2911, allocations: 7.938 kB / 427.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.2911, allocations: 8 kB / 427.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2913, allocations: 48.31 kB / 427.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.2913, allocations: 15.94 kB / 427.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2914, allocations: 31.72 kB / 427.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.2914, allocations: 12 kB / 427.8 MB, free: 7.707 MB / 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.0001089/0.2916, allocations: 133.7 kB / 428 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.2916, allocations: 15.91 kB / 428 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.2917, allocations: 24.92 kB / 428 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2917, allocations: 0 / 428 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.2917, allocations: 4 kB / 428 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2917, allocations: 11.94 kB / 428 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.2921, allocations: 237.5 kB / 428.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.2921, allocations: 4 kB / 428.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2923, allocations: 31.92 kB / 428.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2923, allocations: 0 / 428.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2923, allocations: 4 kB / 428.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2923, allocations: 7.938 kB / 428.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2923, allocations: 0 / 428.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.2926, allocations: 393.1 kB / 428.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.2927, allocations: 93.02 kB / 428.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.2927, allocations: 4.062 kB / 428.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2929, allocations: 0 / 428.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.2929, allocations: 11.92 kB / 428.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.2929, allocations: 8 kB / 428.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.2931, allocations: 149.5 kB / 429 MB, free: 6.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2931, allocations: 0 / 429 MB, free: 6.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.2934, allocations: 47.94 kB / 429 MB, free: 6.453 MB / 334.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.0001214/0.2936, allocations: 103.2 kB / 429.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.2938, allocations: 103.7 kB / 429.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2938, allocations: 0.8125 kB / 429.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.2938, allocations: 35.92 kB / 429.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.2943, allocations: 35.3 kB / 429.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2953, allocations: 0.6324 MB / 429.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2957, allocations: 0.7357 MB / 430.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.2958, allocations: 17.95 kB / 430.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.2958, allocations: 19.44 kB / 430.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2958, allocations: 0 / 430.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of Templates: time 0.004465/0.3003, allocations: 1.42 MB / 432.1 MB, free: 3.297 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.350723206996918]