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.002634/0.002634, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003084/0.003084, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.523e-06/1.523e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.615e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003164/0.00319, allocations: 1.673 MB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.003451, allocations: 59.8 kB / 274 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.003516, allocations: 3.938 kB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.003621, allocations: 11.92 kB / 274 MB, free: 96 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.00368, allocations: 23.8 kB / 274.1 MB, free: 72 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.0038, allocations: 11.97 kB / 274.1 MB, free: 60 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.003954, allocations: 67.75 kB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.004062, allocations: 23.83 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.24e-05/0.004145, allocations: 35.91 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.00422, allocations: 19.97 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.004251, allocations: 4 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.004269, allocations: 4 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.004297, allocations: 19.92 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.004334, allocations: 15.94 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.004498, allocations: 63.84 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.0045, allocations: 0 / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004501, allocations: 0 / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.004505, allocations: 0 / 274.3 MB, free: 15.81 MB / 266.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.0005604/0.005066, allocations: 392.2 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.005101, allocations: 8.031 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.005153, allocations: 16.83 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.00536, allocations: 136.5 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.005376, allocations: 8.375 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.005401, allocations: 4.375 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.005555, allocations: 66.23 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.00557, allocations: 4.188 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.00558, allocations: 4.312 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.005584, allocations: 384 / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.005677, allocations: 39.86 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.0064, allocations: 370.8 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.006534, allocations: 66.92 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.00658, allocations: 27.67 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.006589, allocations: 0 / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.006627, allocations: 45.38 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.006627, allocations: 0 / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.00102/0.007647, allocations: 384.2 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.007694, allocations: 55.41 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.007845, allocations: 173.9 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.007865, allocations: 25.7 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.007966, allocations: 142.8 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.008004, allocations: 39.69 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.008063, allocations: 31.38 kB / 276.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.008349, allocations: 0.5 MB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.008394, allocations: 16 kB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.008503, allocations: 89.67 kB / 276.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.008657, allocations: 106 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008658, allocations: 0 / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001932/0.008851, allocations: 117.5 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.008866, allocations: 4 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.008873, allocations: 3.984 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.008892, allocations: 4 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.008988, allocations: 27.94 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.008994, allocations: 0 / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.009057, allocations: 7.984 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.009067, allocations: 4 kB / 277.2 MB, free: 12.62 MB / 266.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.0001341/0.009201, allocations: 168.5 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.009232, allocations: 8.047 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.009269, allocations: 12.44 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.009274, allocations: 4 kB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009277, allocations: 0 / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.009279, allocations: 0 / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.009862, allocations: 435.5 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009863, allocations: 0 / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.009971, allocations: 19.98 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009973, allocations: 0 / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.009984, allocations: 12.34 kB / 277.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.009991, allocations: 7.938 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.009994, allocations: 3.938 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.01055, allocations: 298.2 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.01056, allocations: 4 kB / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01058, allocations: 7.984 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.01065, allocations: 0 / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.01068, allocations: 11.94 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01069, allocations: 4 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.01077, allocations: 136.3 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01077, allocations: 4.031 kB / 278.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.01103, allocations: 15.94 kB / 278.3 MB, free: 11.38 MB / 266.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.0001226/0.01115, allocations: 103.2 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.01132, allocations: 75.53 kB / 278.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01133, allocations: 0 / 278.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.01138, allocations: 39.61 kB / 278.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.01169, allocations: 12.5 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.01228, allocations: 320.8 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.712e-05/0.01237, allocations: 75.33 kB / 278.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.01241, allocations: 8.484 kB / 278.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.01244, allocations: 12.5 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01244, allocations: 0 / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Templates: time 0.003479/0.01592, allocations: 0.6325 MB / 279.6 MB, free: 10.04 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] 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: 4.303830301971175]