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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 113.6 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009609/0.000961, allocations: 48.92 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09269, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003225/0.09596, allocations: 2.093 MB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.09631, allocations: 167.3 kB / 353.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.09641, allocations: 7.938 kB / 353.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.09655, allocations: 27.72 kB / 353.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.09664, allocations: 47.58 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.09681, allocations: 39.95 kB / 353.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.09702, allocations: 179.2 kB / 354 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.09719, allocations: 58.28 kB / 354.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/0.09727, allocations: 67.72 kB / 354.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.09738, allocations: 67.69 kB / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.09742, allocations: 16 kB / 354.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/0.09745, allocations: 12 kB / 354.3 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.09749, allocations: 35.84 kB / 354.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.09756, allocations: 79.61 kB / 354.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.09775, allocations: 187.2 kB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.09776, allocations: 0 / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.09777, allocations: 0 / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09778, allocations: 4 kB / 354.6 MB, free: 0.6094 MB / 286.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.0005468/0.09834, allocations: 458.9 kB / 355 MB, free: 116 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.09838, allocations: 15.89 kB / 355 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.09843, allocations: 24.59 kB / 355.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.09867, allocations: 214 kB / 355.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.0987, allocations: 16.38 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.09874, allocations: 20.38 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.09901, allocations: 194 kB / 355.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.09903, allocations: 11.83 kB / 355.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.09906, allocations: 8 kB / 355.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.09908, allocations: 11.92 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.09925, allocations: 102.6 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.1004, allocations: 0.9623 MB / 356.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1006, allocations: 91.75 kB / 356.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1006, allocations: 42.75 kB / 356.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1006, allocations: 0 / 356.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1007, allocations: 46.5 kB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1007, allocations: 0 / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.000277/0.101, allocations: 121.4 kB / 356.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.101, allocations: 110.8 kB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1012, allocations: 199.8 kB / 357.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1012, allocations: 29.7 kB / 357.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.1013, allocations: 139.8 kB / 357.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.1014, allocations: 51.27 kB / 357.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1015, allocations: 49.94 kB / 357.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1016, allocations: 334.8 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.1017, allocations: 36.45 kB / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1018, allocations: 143.8 kB / 357.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1021, allocations: 198.1 kB / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1021, allocations: 4 kB / 358.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003044/0.1024, allocations: 213.1 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1024, allocations: 8 kB / 358.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1024, allocations: 4 kB / 358.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1024, allocations: 4.406 kB / 358.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1026, allocations: 51.92 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1026, allocations: 7.984 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1027, allocations: 31.62 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1028, allocations: 12 kB / 358.5 MB, free: 12.29 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 9.748e-05/0.1029, allocations: 133.7 kB / 358.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.1029, allocations: 19.75 kB / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.103, allocations: 24.92 kB / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.103, allocations: 4 kB / 358.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.103, allocations: 4 kB / 358.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.103, allocations: 3.938 kB / 358.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.1035, allocations: 241.5 kB / 358.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1035, allocations: 0 / 358.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.1037, allocations: 31.92 kB / 358.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1037, allocations: 4 kB / 358.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1037, allocations: 0 / 358.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1037, allocations: 4 kB / 358.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1037, allocations: 0 / 358.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.104, allocations: 389.8 kB / 359.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.1041, allocations: 96.8 kB / 359.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1041, allocations: 4 kB / 359.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1043, allocations: 12.12 kB / 359.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.1043, allocations: 11.92 kB / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1043, allocations: 4 kB / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1044, allocations: 153.5 kB / 359.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1044, allocations: 4 kB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.1048, allocations: 39.91 kB / 359.6 MB, free: 11.04 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.0001019/0.1049, allocations: 99.25 kB / 359.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1051, allocations: 108.5 kB / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1051, allocations: 4 kB / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.1052, allocations: 40.5 kB / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.1057, allocations: 28.16 kB / 359.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.1066, allocations: 0.6407 MB / 360.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1069, allocations: 0.7203 MB / 361.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.244e-05/0.107, allocations: 17.95 kB / 361.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.107, allocations: 19.44 kB / 361.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.107, allocations: 0 / 361.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of Templates: time 0.004076/0.1111, allocations: 1.327 MB / 362.6 MB, free: 7.977 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches