Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00168/0.00168, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002057/0.002057, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.239/2.239, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 177] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 43.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3415, allocations: 53.37 MB / 432.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.004478/0.346, allocations: 1.625 MB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000352/0.3463, allocations: 67.72 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.3464, allocations: 0 / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3466, allocations: 15.92 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.3466, allocations: 11.88 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.3468, allocations: 23.84 kB / 434.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.347, allocations: 63.78 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.3471, allocations: 12 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.3472, allocations: 27.86 kB / 434.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.3473, allocations: 31.84 kB / 434.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.3473, allocations: 4 kB / 434.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.553e-05/0.3474, allocations: 8 kB / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.3474, allocations: 15.92 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.3474, allocations: 23.94 kB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3476, allocations: 65.41 kB / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3476, allocations: 0 / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3476, allocations: 0 / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3476, allocations: 4 kB / 434.3 MB, free: 4.785 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.0005921/0.3482, allocations: 282.2 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3483, allocations: 8.031 kB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.3483, allocations: 12.89 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.3486, allocations: 130.4 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3487, allocations: 8.375 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.3487, allocations: 4.375 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.3489, allocations: 74.17 kB / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3489, allocations: 192 / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.349, allocations: 3.938 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.349, allocations: 4 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3491, allocations: 35.97 kB / 434.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.35, allocations: 311.2 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3501, allocations: 54.56 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.3502, allocations: 20.86 kB / 435.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3502, allocations: 0 / 435.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.3502, allocations: 34.56 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.3502, allocations: 0 / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.00106/0.3513, allocations: 379.8 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3514, allocations: 51.41 kB / 435.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3515, allocations: 110 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3515, allocations: 25.7 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.3516, allocations: 104 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.3517, allocations: 39.69 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.3518, allocations: 25.72 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.352, allocations: 326.8 kB / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.352, allocations: 12 kB / 436.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3521, allocations: 60.27 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.3523, allocations: 89.06 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3523, allocations: 0 / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002947/0.3526, allocations: 113.5 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3526, allocations: 11.94 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3527, allocations: 0 / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3527, allocations: 0 / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3528, allocations: 23.98 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3528, allocations: 4 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.3529, allocations: 4 kB / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.3529, allocations: 7.938 kB / 436.6 MB, free: 2.203 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 0.0001385/0.3531, allocations: 125.7 kB / 436.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.3531, allocations: 8.047 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.3532, allocations: 16.36 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3532, allocations: 4 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3532, allocations: 0 / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3532, allocations: 0 / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.3539, allocations: 342.2 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.3539, allocations: 4 kB / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.3541, allocations: 27.92 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3541, allocations: 4 kB / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3541, allocations: 16.03 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3541, allocations: 0 / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.3541, allocations: 4 kB / 437.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.3545, allocations: 227.8 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.3545, allocations: 8.125 kB / 437.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.3545, allocations: 11.88 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3546, allocations: 0 / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.3547, allocations: 11.92 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3547, allocations: 8 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.419e-05/0.3548, allocations: 83.27 kB / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3548, allocations: 4.062 kB / 437.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.3552, allocations: 20 kB / 437.5 MB, free: 1.195 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.0001374/0.3554, allocations: 95.25 kB / 437.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.3556, allocations: 60.23 kB / 437.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3556, allocations: 0 / 437.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.3557, allocations: 27.92 kB / 437.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.3561, allocations: 16.62 kB / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/0.3571, allocations: 347.2 kB / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3572, allocations: 75.33 kB / 438.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.3572, allocations: 12.42 kB / 438.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.3573, allocations: 11.44 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3573, allocations: 0 / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of Templates: time 0.004302/0.3616, allocations: 0.703 MB / 438.9 MB, free: 15.8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.99505239300197]