Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 118.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 55.91 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09673, allocations: 53.32 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003053/0.09978, allocations: 1.661 MB / 429.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.1001, allocations: 67.66 kB / 429.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.1002, allocations: 4 kB / 429.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1003, allocations: 11.92 kB / 429.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.1003, allocations: 15.86 kB / 429.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.1005, allocations: 19.92 kB / 429.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1006, allocations: 63.78 kB / 429.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1007, allocations: 15.97 kB / 429.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.1008, allocations: 19.94 kB / 429.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.1008, allocations: 27.86 kB / 429.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.1009, allocations: 8 kB / 429.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.1009, allocations: 4 kB / 429.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.1009, allocations: 11.92 kB / 429.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.1009, allocations: 39.8 kB / 429.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1011, allocations: 55.73 kB / 429.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1011, allocations: 8 kB / 429.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1011, allocations: 0 / 429.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1011, allocations: 4 kB / 429.9 MB, free: 2.449 MB / 350.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.0005183/0.1016, allocations: 359.3 kB / 430.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1017, allocations: 12.02 kB / 430.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.1017, allocations: 8.891 kB / 430.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.102, allocations: 188.2 kB / 430.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.102, allocations: 384 / 430.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.102, allocations: 16.38 kB / 430.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1022, allocations: 67.86 kB / 430.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1022, allocations: 8.188 kB / 430.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1022, allocations: 7.922 kB / 430.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1022, allocations: 0 / 430.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.1023, allocations: 35.97 kB / 430.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.103, allocations: 375.6 kB / 430.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1031, allocations: 58.56 kB / 431 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.1032, allocations: 16.84 kB / 431 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1032, allocations: 4 kB / 431 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1032, allocations: 30.56 kB / 431 MB, free: 1.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1032, allocations: 0 / 431 MB, free: 1.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000849/0.1041, allocations: 0.5248 MB / 431.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1041, allocations: 51.41 kB / 431.6 MB, free: 448 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1042, allocations: 121.7 kB / 431.7 MB, free: 316 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1042, allocations: 29.64 kB / 431.7 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.1043, allocations: 92.09 kB / 431.8 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1043, allocations: 35.69 kB / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.1044, allocations: 29.7 kB / 431.9 MB, free: 112 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1045, allocations: 322.8 kB / 432.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.174e-05/0.1046, allocations: 15.98 kB / 432.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.1047, allocations: 57.14 kB / 432.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1048, allocations: 89.08 kB / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1048, allocations: 0 / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001861/0.105, allocations: 109.5 kB / 432.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.105, allocations: 4 kB / 432.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.105, allocations: 0 / 432.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.105, allocations: 8 kB / 432.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.1051, allocations: 27.92 kB / 432.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1051, allocations: 3.938 kB / 432.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.1052, allocations: 12.09 kB / 432.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1052, allocations: 4 kB / 432.5 MB, free: 15.42 MB / 366.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.691e-05/0.1053, allocations: 121.7 kB / 432.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1053, allocations: 7.953 kB / 432.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.1053, allocations: 12.52 kB / 432.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1053, allocations: 3.984 kB / 432.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1053, allocations: 3.938 kB / 432.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1054, allocations: 3.984 kB / 432.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.1059, allocations: 406.6 kB / 433.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1059, allocations: 0 / 433.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.106, allocations: 24.39 kB / 433.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.106, allocations: 4 kB / 433.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.106, allocations: 4 kB / 433.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.106, allocations: 4.156 kB / 433.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.106, allocations: 4 kB / 433.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1062, allocations: 235.6 kB / 433.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.1063, allocations: 93.14 kB / 433.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1063, allocations: 8 kB / 433.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.1064, allocations: 0 / 433.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.1064, allocations: 11.88 kB / 433.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1064, allocations: 7.984 kB / 433.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.1065, allocations: 91.28 kB / 433.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1065, allocations: 0 / 433.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1068, allocations: 16 kB / 433.6 MB, free: 14.24 MB / 366.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.0001086/0.1069, allocations: 107.2 kB / 433.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.107, allocations: 59.8 kB / 433.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.107, allocations: 0 / 433.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.1071, allocations: 27.92 kB / 433.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1074, allocations: 10.75 kB / 433.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.108, allocations: 376.9 kB / 434.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1083, allocations: 0.6924 MB / 434.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.1084, allocations: 19.44 kB / 434.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1084, allocations: 0 / 434.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.002758/0.1111, allocations: 0.9974 MB / 435.8 MB, free: 11.88 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.806416969979182]