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.001331/0.001331, allocations: 103.6 kB / 21.18 MB, free: 0.5234 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.00161/0.00161, allocations: 215.6 kB / 24.48 MB, free: 3.84 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 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.001664/0.001664, allocations: 51.91 kB / 378.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2764, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002926/0.2794, allocations: 1.637 MB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002485/0.2796, allocations: 63.8 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.2797, allocations: 4 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2798, allocations: 15.8 kB / 434 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.2798, allocations: 15.86 kB / 434 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.28, allocations: 19.97 kB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2801, allocations: 67.72 kB / 434.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2802, allocations: 8 kB / 434.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.2803, allocations: 27.92 kB / 434.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.2803, allocations: 19.86 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2804, allocations: 8 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.2804, allocations: 4 kB / 434.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.2804, allocations: 19.91 kB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.2804, allocations: 19.94 kB / 434.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2806, allocations: 66.39 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2806, allocations: 8 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2806, allocations: 0 / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.2806, allocations: 3.938 kB / 434.3 MB, free: 4.719 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.0004521/0.281, allocations: 286.2 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2811, allocations: 12.03 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.2811, allocations: 8.891 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.2813, allocations: 118.5 kB / 434.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2813, allocations: 4.375 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.2813, allocations: 8.375 kB / 434.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.2815, allocations: 74.17 kB / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2815, allocations: 4.125 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2815, allocations: 7.938 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2815, allocations: 7.938 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.2816, allocations: 31.97 kB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.2822, allocations: 311.4 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.2823, allocations: 54.5 kB / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.2824, allocations: 16.86 kB / 435.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.2824, allocations: 0 / 435.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2824, allocations: 38.56 kB / 435.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2824, allocations: 0 / 435.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007158/0.2831, allocations: 371.8 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2832, allocations: 51.41 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2833, allocations: 118 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2833, allocations: 29.7 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.2834, allocations: 103.9 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.2834, allocations: 31.73 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.2834, allocations: 25.72 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.2836, allocations: 326.8 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.2837, allocations: 19.94 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.2838, allocations: 60.27 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.2839, allocations: 85.08 kB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2839, allocations: 0 / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001658/0.2841, allocations: 109.5 kB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2841, allocations: 8 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2841, allocations: 4.094 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2841, allocations: 8 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.2842, allocations: 23.92 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2842, allocations: 4 kB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.2842, allocations: 0 / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2842, allocations: 11.94 kB / 436.6 MB, free: 2.133 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.513e-05/0.2843, allocations: 113.8 kB / 436.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2844, allocations: 7.953 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.2844, allocations: 16.36 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2844, allocations: 0 / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2844, allocations: 4 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2844, allocations: 0 / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.2849, allocations: 354.2 kB / 437.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2849, allocations: 0 / 437.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.285, allocations: 23.92 kB / 437.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.285, allocations: 0 / 437.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.285, allocations: 7.938 kB / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.285, allocations: 3.938 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.285, allocations: 8.156 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.2852, allocations: 231.9 kB / 437.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.2853, allocations: 8.016 kB / 437.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2853, allocations: 7.938 kB / 437.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.2853, allocations: 4 kB / 437.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.2854, allocations: 7.984 kB / 437.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2854, allocations: 4 kB / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.658e-05/0.2854, allocations: 91.27 kB / 437.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2854, allocations: 0 / 437.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.2857, allocations: 19.94 kB / 437.5 MB, free: 1.137 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.0001095/0.2858, allocations: 101.7 kB / 437.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.2859, allocations: 55.86 kB / 437.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2859, allocations: 0 / 437.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.286, allocations: 27.92 kB / 437.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.2863, allocations: 19.94 kB / 437.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.287, allocations: 365.8 kB / 438.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.716e-05/0.287, allocations: 76.08 kB / 438.2 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.2871, allocations: 15.42 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2871, allocations: 0 / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of Templates: time 0.002703/0.2898, allocations: 0.9988 MB / 439.2 MB, free: 15.42 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 -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: 6.70861144317314]