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.001144/0.001144, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.006426/0.006426, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8678/0.8678, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.834e-05, allocations: 6.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00204/0.002068, allocations: 1.635 MB / 327.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.002296, allocations: 71.77 kB / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.002358, allocations: 0 / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.495e-05/0.002453, allocations: 19.86 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.002491, allocations: 7.875 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.002616, allocations: 23.84 kB / 327.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.002736, allocations: 75.66 kB / 327.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.002854, allocations: 15.97 kB / 327.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.002908, allocations: 39.91 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.002965, allocations: 15.97 kB / 327.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.00299, allocations: 4 kB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.003, allocations: 12 kB / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.003017, allocations: 7.938 kB / 327.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.003042, allocations: 23.98 kB / 327.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.003159, allocations: 59.78 kB / 327.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.003161, allocations: 0 / 327.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003162, allocations: 0 / 327.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003167, allocations: 0 / 327.8 MB, free: 13.42 MB / 298.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.0006495/0.003816, allocations: 293.1 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.003852, allocations: 8.031 kB / 328.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.003885, allocations: 12.89 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.004094, allocations: 129.7 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.004106, allocations: 4.375 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.004138, allocations: 8.375 kB / 328.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.004306, allocations: 70.17 kB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.004319, allocations: 192 / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.004333, allocations: 4.375 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004338, allocations: 4.312 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.004415, allocations: 39.91 kB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.004891, allocations: 295.6 kB / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.004975, allocations: 62.5 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.005002, allocations: 20.8 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.005012, allocations: 0 / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.005028, allocations: 34.56 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.005029, allocations: 0 / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005183/0.005548, allocations: 371.2 kB / 329.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.005581, allocations: 59.34 kB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.005642, allocations: 105.8 kB / 329.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.005651, allocations: 29.7 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.005696, allocations: 104 kB / 329.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.005716, allocations: 39.69 kB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.005751, allocations: 29.7 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.005825, allocations: 318.8 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.005852, allocations: 19.98 kB / 329.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.005897, allocations: 61.14 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.496e-05/0.005972, allocations: 85.08 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.005973, allocations: 0 / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001092/0.006082, allocations: 117.5 kB / 330.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.006095, allocations: 4 kB / 330.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.006101, allocations: 4 kB / 330.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.006113, allocations: 0 / 330.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.00617, allocations: 27.92 kB / 330.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.006175, allocations: 0 / 330.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.006196, allocations: 4 kB / 330.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.006202, allocations: 4 kB / 330.1 MB, free: 10.84 MB / 298.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 6.356e-05/0.006265, allocations: 129.8 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.00628, allocations: 7.953 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.006304, allocations: 8.438 kB / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.006309, allocations: 8 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006312, allocations: 0 / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006315, allocations: 0 / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.006701, allocations: 346.2 kB / 330.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.006705, allocations: 7.984 kB / 330.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.006753, allocations: 20.03 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.006757, allocations: 8.094 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.006764, allocations: 7.938 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006766, allocations: 0 / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.006768, allocations: 3.938 kB / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.006931, allocations: 227.7 kB / 330.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.006939, allocations: 8.016 kB / 330.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.006951, allocations: 0 / 330.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.006988, allocations: 8 kB / 330.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.007008, allocations: 15.86 kB / 330.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.007013, allocations: 4 kB / 330.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.697e-05/0.00704, allocations: 88.52 kB / 331 MB, free: 9.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00704, allocations: 0 / 331 MB, free: 9.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.007209, allocations: 16 kB / 331 MB, free: 9.852 MB / 298.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 8.627e-05/0.007295, allocations: 95.25 kB / 331.1 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.007407, allocations: 64.22 kB / 331.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007409, allocations: 0 / 331.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.007434, allocations: 28.23 kB / 331.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.007675, allocations: 12.19 kB / 331.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.008087, allocations: 327.5 kB / 331.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.128e-05/0.008138, allocations: 79.33 kB / 331.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.008161, allocations: 12.5 kB / 331.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008162, allocations: 0 / 331.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of Templates: time 0.001788/0.00995, allocations: 1.005 MB / 332.6 MB, free: 8.16 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/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: 3.9707821970805526]