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.001381/0.001381, allocations: 78.19 kB / 21.42 MB, free: 3.086 MB / 18.57 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.001437/0.001437, allocations: 153.2 kB / 24.81 MB, free: 8.965 MB / 18.57 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 0.9617/0.9617, allocations: 173.3 MB / 201.4 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.584e-05, allocations: 10.25 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003573/0.003599, allocations: 2.092 MB / 270.5 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.003994, allocations: 163.4 kB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.004083, allocations: 7.938 kB / 270.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.004197, allocations: 27.72 kB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.345e-05/0.004271, allocations: 51.5 kB / 270.7 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.0044, allocations: 43.94 kB / 270.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.00456, allocations: 191.1 kB / 271 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004675, allocations: 34.48 kB / 271 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.004778, allocations: 99.78 kB / 271.1 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.004868, allocations: 63.78 kB / 271.2 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.004889, allocations: 12 kB / 271.2 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.004908, allocations: 16 kB / 271.2 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.004935, allocations: 27.91 kB / 271.2 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.004981, allocations: 59.84 kB / 271.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.005123, allocations: 123.4 kB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005126, allocations: 0 / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005127, allocations: 0 / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.00513, allocations: 4 kB / 271.4 MB, free: 3.184 MB / 250.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.0004037/0.005534, allocations: 491.9 kB / 271.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.005568, allocations: 12.03 kB / 271.9 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.005611, allocations: 32.8 kB / 271.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.005792, allocations: 167.8 kB / 272.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.005805, allocations: 12.38 kB / 272.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.005831, allocations: 20.38 kB / 272.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.005994, allocations: 168.1 kB / 272.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.006006, allocations: 8.141 kB / 272.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.006017, allocations: 8.375 kB / 272.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.006025, allocations: 8.125 kB / 272.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.006093, allocations: 55.88 kB / 272.4 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.006828, allocations: 1.036 MB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.006913, allocations: 117.1 kB / 273.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.006941, allocations: 43.23 kB / 273.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.006949, allocations: 0 / 273.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.006972, allocations: 41.39 kB / 273.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.006974, allocations: 3.938 kB / 273.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001664/0.00714, allocations: 101.5 kB / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.007179, allocations: 106.8 kB / 273.8 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.00728, allocations: 229.6 kB / 274 MB, free: 304 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.007289, allocations: 29.64 kB / 274 MB, free: 268 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.007361, allocations: 194.8 kB / 274.2 MB, free: 68 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.007386, allocations: 51.58 kB / 274.3 MB, free: 16 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.007445, allocations: 55.58 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.007557, allocations: 0.4923 MB / 274.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.007583, allocations: 20.45 kB / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.007677, allocations: 167.8 kB / 275 MB, free: 15.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.007811, allocations: 207.3 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007814, allocations: 0 / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000172/0.007986, allocations: 193.4 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.007998, allocations: 8 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.008004, allocations: 0 / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.008019, allocations: 8 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.008114, allocations: 55.91 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.008121, allocations: 11.94 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.008178, allocations: 23.84 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.008186, allocations: 8 kB / 275.5 MB, free: 14.62 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.572e-05/0.008262, allocations: 172.6 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.008302, allocations: 19.89 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.008341, allocations: 20.33 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008344, allocations: 4 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.008349, allocations: 0 / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.008353, allocations: 0 / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.008597, allocations: 153.1 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.008599, allocations: 0 / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.00868, allocations: 31.98 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.008684, allocations: 3.938 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.008697, allocations: 4 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.008698, allocations: 0 / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008699, allocations: 7.938 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.008947, allocations: 0.4932 MB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.008963, allocations: 11.91 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008977, allocations: 3.938 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.009058, allocations: 8 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.009072, allocations: 7.984 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.009076, allocations: 0 / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.857e-05/0.009135, allocations: 168.5 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009135, allocations: 0 / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.009375, allocations: 43.89 kB / 276.7 MB, free: 13.42 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 8.207e-05/0.009457, allocations: 103.2 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.009572, allocations: 87.44 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009573, allocations: 0 / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.0096, allocations: 35.61 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.009907, allocations: 24.73 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.01045, allocations: 0.5101 MB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.132e-05/0.0105, allocations: 79.98 kB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.635e-05/0.01055, allocations: 13.48 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.01062, allocations: 90.19 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01062, allocations: 0 / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002967/0.01358, allocations: 1.305 MB / 278.9 MB, free: 11.12 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] 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","",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.633170475717634]