Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 168.8 kB / 25.03 MB, free: 8.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.634e-05, allocations: 2.312 kB / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003015/0.003041, allocations: 1.649 MB / 252 MB, free: 6.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002511/0.003292, allocations: 67.78 kB / 252.1 MB, free: 6.125 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.003365, allocations: 0 / 252.1 MB, free: 6.125 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.003476, allocations: 11.88 kB / 252.1 MB, free: 6.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.003534, allocations: 19.84 kB / 252.1 MB, free: 6.094 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.003646, allocations: 15.92 kB / 252.1 MB, free: 6.078 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.003786, allocations: 75.64 kB / 252.2 MB, free: 6.004 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.003879, allocations: 8 kB / 252.2 MB, free: 5.996 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.003967, allocations: 43.89 kB / 252.2 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.004034, allocations: 15.98 kB / 252.2 MB, free: 5.938 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.004054, allocations: 4 kB / 252.2 MB, free: 5.934 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.004072, allocations: 11.94 kB / 252.3 MB, free: 5.922 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.004093, allocations: 7.984 kB / 252.3 MB, free: 5.914 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.004136, allocations: 27.92 kB / 252.3 MB, free: 5.887 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.004286, allocations: 59.83 kB / 252.4 MB, free: 5.828 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004288, allocations: 0 / 252.4 MB, free: 5.828 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004288, allocations: 4 kB / 252.4 MB, free: 5.824 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.004293, allocations: 0 / 252.4 MB, free: 5.824 MB / 234.7 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.0005222/0.004815, allocations: 392.1 kB / 252.7 MB, free: 5.402 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.004851, allocations: 15.98 kB / 252.8 MB, free: 5.387 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.004901, allocations: 16.83 kB / 252.8 MB, free: 5.371 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.005089, allocations: 124.5 kB / 252.9 MB, free: 5.223 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.005104, allocations: 8.375 kB / 252.9 MB, free: 5.215 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.005128, allocations: 4.375 kB / 252.9 MB, free: 5.211 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.005297, allocations: 77.97 kB / 253 MB, free: 5.133 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.005309, allocations: 192 / 253 MB, free: 5.133 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.005321, allocations: 4.375 kB / 253 MB, free: 5.129 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.005325, allocations: 384 / 253 MB, free: 5.129 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.005419, allocations: 39.91 kB / 253 MB, free: 5.09 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.00612, allocations: 378.7 kB / 253.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.006267, allocations: 70.98 kB / 253.5 MB, free: 4.594 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.006309, allocations: 19.62 kB / 253.5 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.00632, allocations: 4 kB / 253.5 MB, free: 4.566 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.00635, allocations: 33.39 kB / 253.5 MB, free: 4.523 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.006351, allocations: 0 / 253.5 MB, free: 4.523 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007607/0.007111, allocations: 384.2 kB / 253.9 MB, free: 4.086 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.007168, allocations: 51.41 kB / 253.9 MB, free: 4.023 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.007313, allocations: 182 kB / 254.1 MB, free: 3.828 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.007332, allocations: 25.7 kB / 254.1 MB, free: 3.797 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.00743, allocations: 146.8 kB / 254.3 MB, free: 3.648 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.007461, allocations: 27.75 kB / 254.3 MB, free: 3.621 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.007523, allocations: 43.36 kB / 254.4 MB, free: 3.57 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.007784, allocations: 0.4922 MB / 254.9 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.007823, allocations: 15.98 kB / 254.9 MB, free: 3.051 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.007923, allocations: 74.11 kB / 254.9 MB, free: 2.953 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.008089, allocations: 114 kB / 255.1 MB, free: 2.816 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008091, allocations: 0 / 255.1 MB, free: 2.816 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001968/0.008288, allocations: 121.5 kB / 255.2 MB, free: 2.691 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.008307, allocations: 8 kB / 255.2 MB, free: 2.684 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008311, allocations: 0 / 255.2 MB, free: 2.684 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.008325, allocations: 0 / 255.2 MB, free: 2.684 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.008413, allocations: 23.98 kB / 255.2 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.008425, allocations: 11.94 kB / 255.2 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.008461, allocations: 0 / 255.2 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.008469, allocations: 4 kB / 255.2 MB, free: 2.645 MB / 234.7 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 0.0001346/0.008604, allocations: 180.5 kB / 255.4 MB, free: 2.457 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.008636, allocations: 11.95 kB / 255.4 MB, free: 2.445 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.008671, allocations: 8.438 kB / 255.4 MB, free: 2.438 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.008672, allocations: 0 / 255.4 MB, free: 2.438 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008675, allocations: 0 / 255.4 MB, free: 2.438 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.008681, allocations: 3.984 kB / 255.4 MB, free: 2.434 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.009268, allocations: 431.6 kB / 255.8 MB, free: 1.949 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.009272, allocations: 8.156 kB / 255.8 MB, free: 1.941 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.009365, allocations: 12 kB / 255.9 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.009368, allocations: 4 kB / 255.9 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.009381, allocations: 8 kB / 255.9 MB, free: 1.918 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.009386, allocations: 5.156 kB / 255.9 MB, free: 1.914 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.009392, allocations: 11.88 kB / 255.9 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.009708, allocations: 298.3 kB / 256.2 MB, free: 1.566 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.009722, allocations: 4 kB / 256.2 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.009736, allocations: 0 / 256.2 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.009803, allocations: 4 kB / 256.2 MB, free: 1.559 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.009833, allocations: 19.95 kB / 256.2 MB, free: 1.539 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.009839, allocations: 4 kB / 256.2 MB, free: 1.535 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.197e-05/0.009931, allocations: 127.2 kB / 256.3 MB, free: 1.41 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.009932, allocations: 0 / 256.3 MB, free: 1.41 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.01018, allocations: 16 kB / 256.4 MB, free: 1.395 MB / 234.7 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.0001217/0.0103, allocations: 103.2 kB / 256.5 MB, free: 1.285 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.01046, allocations: 67.55 kB / 256.5 MB, free: 1.215 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01046, allocations: 0 / 256.5 MB, free: 1.215 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.01052, allocations: 43.8 kB / 256.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.01083, allocations: 19.94 kB / 256.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.01142, allocations: 317.3 kB / 256.9 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.01172, allocations: 75.33 kB / 257 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.819e-05/0.01175, allocations: 4.5 kB / 257 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.01178, allocations: 16.5 kB / 257 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01178, allocations: 4 kB / 257 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of Templates: time 0.003578/0.01536, allocations: 0.6316 MB / 257.6 MB, free: 44 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.1477000650484115]