Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.00138/0.00138, allocations: 113 kB / 18.41 MB, free: 4.684 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.001372/0.001372, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 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.457/1.457, allocations: 222.9 MB / 247 MB, free: 4.211 MB / 190.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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.92 kB / 358.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1003, allocations: 49.44 MB / 408.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002815/0.1032, allocations: 1.633 MB / 409.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000279/0.1035, allocations: 71.77 kB / 409.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.305e-05/0.1036, allocations: 4 kB / 409.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.1037, allocations: 11.86 kB / 409.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.1038, allocations: 15.86 kB / 409.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.1039, allocations: 15.98 kB / 409.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.104, allocations: 67.66 kB / 409.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1042, allocations: 19.98 kB / 409.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.1042, allocations: 19.92 kB / 409.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.1043, allocations: 31.86 kB / 410 MB, free: 5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1043, allocations: 8 kB / 410 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.1043, allocations: 4 kB / 410 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.1044, allocations: 7.984 kB / 410 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.1044, allocations: 35.81 kB / 410 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.1046, allocations: 63.72 kB / 410.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1046, allocations: 0 / 410.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1046, allocations: 7.938 kB / 410.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1046, allocations: 0 / 410.1 MB, free: 4.875 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004667/0.1051, allocations: 363.3 kB / 410.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1051, allocations: 8.031 kB / 410.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.1052, allocations: 12.83 kB / 410.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1054, allocations: 184.3 kB / 410.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1054, allocations: 8.312 kB / 410.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.1054, allocations: 8.375 kB / 410.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1056, allocations: 70.17 kB / 410.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1056, allocations: 8.141 kB / 410.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1056, allocations: 3.938 kB / 410.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1057, allocations: 4 kB / 410.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.1057, allocations: 35.98 kB / 410.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/0.1064, allocations: 371.7 kB / 411.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1066, allocations: 58.5 kB / 411.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.1066, allocations: 16.86 kB / 411.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1066, allocations: 0 / 411.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.1067, allocations: 42.56 kB / 411.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.1067, allocations: 0 / 411.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009378/0.1076, allocations: 0.5092 MB / 411.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.1077, allocations: 51.41 kB / 411.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1078, allocations: 125.8 kB / 412 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1079, allocations: 29.7 kB / 412 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.1079, allocations: 92.09 kB / 412.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.108, allocations: 35.69 kB / 412.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.108, allocations: 29.66 kB / 412.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1082, allocations: 318.8 kB / 412.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.1082, allocations: 16.47 kB / 412.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.1083, allocations: 61.14 kB / 412.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1085, allocations: 89.06 kB / 412.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1085, allocations: 0 / 412.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001654/0.1086, allocations: 113.5 kB / 412.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1087, allocations: 11.94 kB / 412.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1087, allocations: 3.984 kB / 412.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1087, allocations: 4 kB / 412.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.1088, allocations: 19.94 kB / 412.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1088, allocations: 7.938 kB / 412.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.1089, allocations: 3.984 kB / 412.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1089, allocations: 4 kB / 412.8 MB, free: 1.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.306e-05/0.109, allocations: 121.8 kB / 412.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.109, allocations: 8.062 kB / 412.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.109, allocations: 16.31 kB / 412.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1091, allocations: 3.938 kB / 412.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1091, allocations: 7.938 kB / 412.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1091, allocations: 0 / 412.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.1096, allocations: 414.6 kB / 413.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1096, allocations: 0 / 413.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.1097, allocations: 23.92 kB / 413.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1097, allocations: 4 kB / 413.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.1098, allocations: 0 / 413.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1098, allocations: 4 kB / 413.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1098, allocations: 0 / 413.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.11, allocations: 231.8 kB / 413.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.1101, allocations: 89.09 kB / 413.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1101, allocations: 3.984 kB / 413.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.1102, allocations: 4 kB / 413.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.1102, allocations: 12.06 kB / 413.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1102, allocations: 4 kB / 413.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.208e-05/0.1103, allocations: 95.2 kB / 413.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1103, allocations: 384 / 413.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1105, allocations: 16 kB / 413.8 MB, free: 0.6758 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.0001343/0.1107, allocations: 99.72 kB / 413.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.1108, allocations: 75.98 kB / 414 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1108, allocations: 4.188 kB / 414 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.1109, allocations: 27.94 kB / 414 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1112, allocations: 15.98 kB / 414 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.1118, allocations: 360.8 kB / 414.4 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1122, allocations: 0.6961 MB / 415.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.1122, allocations: 11.44 kB / 415.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1122, allocations: 3.938 kB / 415.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of Templates: time 0.002768/0.115, allocations: 1.002 MB / 416.1 MB, free: 14.31 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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: 6.77645351307001]