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.001027/0.001027, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.00112/0.00112, allocations: 144.1 kB / 25.59 MB, free: 8.57 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.927/0.927, allocations: 173.4 MB / 202.2 MB, free: 8.305 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.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 9.82e-07/9.82e-07, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.122e-05, allocations: 4.031 kB / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001789/0.001801, allocations: 1.666 MB / 270.8 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.002002, allocations: 77.62 kB / 270.9 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.002056, allocations: 0 / 270.9 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.002142, allocations: 7.938 kB / 270.9 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.002182, allocations: 21.5 kB / 270.9 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.333e-05/0.002266, allocations: 15.98 kB / 271 MB, free: 8.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.002346, allocations: 67.64 kB / 271 MB, free: 7.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.002421, allocations: 12 kB / 271 MB, free: 7.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.002469, allocations: 40.83 kB / 271.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.00252, allocations: 15.92 kB / 271.1 MB, free: 7.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.002534, allocations: 4 kB / 271.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.002545, allocations: 8.75 kB / 271.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.002564, allocations: 15.92 kB / 271.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.002584, allocations: 24.61 kB / 271.1 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.002671, allocations: 44.53 kB / 271.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.002672, allocations: 0 / 271.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.002673, allocations: 6.844 kB / 271.2 MB, free: 7.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.002676, allocations: 0 / 271.2 MB, free: 7.781 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002843/0.00296, allocations: 388.4 kB / 271.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.00299, allocations: 12.03 kB / 271.6 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.003016, allocations: 8.891 kB / 271.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.003126, allocations: 120.6 kB / 271.7 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.003137, allocations: 14.03 kB / 271.7 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.003154, allocations: 12.27 kB / 271.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.296e-05/0.003227, allocations: 61.41 kB / 271.8 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.003236, allocations: 4.188 kB / 271.8 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.003242, allocations: 384 / 271.8 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.003247, allocations: 4.984 kB / 271.8 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.003279, allocations: 23.92 kB / 271.8 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.00363, allocations: 340.1 kB / 272.2 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.448e-05/0.003694, allocations: 47.53 kB / 272.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.003716, allocations: 20.59 kB / 272.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.003722, allocations: 4 kB / 272.2 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.003741, allocations: 37.88 kB / 272.3 MB, free: 6.582 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.003742, allocations: 0 / 272.3 MB, free: 6.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000363/0.004105, allocations: 336.2 kB / 272.6 MB, free: 6.191 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.00413, allocations: 55.34 kB / 272.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.004191, allocations: 170.9 kB / 272.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.0042, allocations: 29.7 kB / 272.9 MB, free: 5.906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.004246, allocations: 146.7 kB / 273 MB, free: 5.758 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.004264, allocations: 35.69 kB / 273 MB, free: 5.723 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.004295, allocations: 39.3 kB / 273.1 MB, free: 5.676 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.0044, allocations: 0.4962 MB / 273.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.004411, allocations: 4 kB / 273.6 MB, free: 5.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.004446, allocations: 66.11 kB / 273.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.004502, allocations: 86.03 kB / 273.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.004505, allocations: 3.938 kB / 273.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.434e-05/0.004599, allocations: 93.48 kB / 273.8 MB, free: 4.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.00461, allocations: 8 kB / 273.8 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.004613, allocations: 0 / 273.8 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.004622, allocations: 4.094 kB / 273.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.004674, allocations: 23.98 kB / 273.8 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.004677, allocations: 4 kB / 273.9 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.004697, allocations: 0 / 273.9 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.004703, allocations: 8 kB / 273.9 MB, free: 4.816 MB / 250.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 5.767e-05/0.00476, allocations: 168.5 kB / 274 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.004777, allocations: 7.953 kB / 274 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.0048, allocations: 12.42 kB / 274 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.004803, allocations: 4.141 kB / 274 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.004806, allocations: 3.984 kB / 274.1 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.004808, allocations: 4 kB / 274.1 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.005068, allocations: 380.2 kB / 274.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.00507, allocations: 3.938 kB / 274.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.005113, allocations: 19.98 kB / 274.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.005115, allocations: 4 kB / 274.5 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.005121, allocations: 0 / 274.5 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005123, allocations: 4.312 kB / 274.5 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005125, allocations: 4 kB / 274.5 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.005263, allocations: 290.4 kB / 274.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.005272, allocations: 15.88 kB / 274.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.00528, allocations: 0 / 274.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.327e-05/0.005314, allocations: 4 kB / 274.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.00533, allocations: 15.92 kB / 274.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.005334, allocations: 4 kB / 274.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.162e-05/0.005365, allocations: 127.2 kB / 274.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005365, allocations: 3.938 kB / 274.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.005513, allocations: 16 kB / 274.9 MB, free: 3.637 MB / 250.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 6.77e-05/0.005581, allocations: 99.28 kB / 275 MB, free: 3.531 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.005652, allocations: 63.52 kB / 275.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005653, allocations: 0 / 275.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.005674, allocations: 27.61 kB / 275.1 MB, free: 3.434 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.005857, allocations: 12 kB / 275.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.006158, allocations: 305.4 kB / 275.4 MB, free: 3.074 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.006192, allocations: 63.34 kB / 275.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.21e-05/0.006214, allocations: 12.47 kB / 275.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.006257, allocations: 78.2 kB / 275.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006257, allocations: 0 / 275.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of Templates: time 0.00183/0.008088, allocations: 0.715 MB / 276.3 MB, free: 2.203 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.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.5184164769016206]