Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00147/0.00147, allocations: 116.7 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.001682/0.001682, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 230.4 MB / 255.4 MB, free: 15.17 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 75.81 kB / 374.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09899, allocations: 53.31 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002969/0.102, allocations: 1.654 MB / 429.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000238/0.1022, allocations: 63.78 kB / 429.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1023, allocations: 8 kB / 429.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.1024, allocations: 11.86 kB / 429.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.1024, allocations: 15.86 kB / 429.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.1026, allocations: 11.98 kB / 429.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1027, allocations: 71.7 kB / 429.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1028, allocations: 8 kB / 429.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.1029, allocations: 23.92 kB / 429.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.1029, allocations: 27.86 kB / 429.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1029, allocations: 8 kB / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.103, allocations: 4 kB / 429.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.103, allocations: 19.91 kB / 430 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.103, allocations: 31.88 kB / 430 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1032, allocations: 59.73 kB / 430.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1032, allocations: 3.938 kB / 430.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1032, allocations: 4 kB / 430.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1032, allocations: 3.938 kB / 430.1 MB, free: 2.336 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.0004989/0.1037, allocations: 363.2 kB / 430.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1037, allocations: 8.031 kB / 430.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.1038, allocations: 16.89 kB / 430.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.104, allocations: 192.2 kB / 430.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.104, allocations: 384 / 430.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.104, allocations: 12.38 kB / 430.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1042, allocations: 65.19 kB / 430.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1042, allocations: 12.12 kB / 430.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1042, allocations: 3.938 kB / 430.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1042, allocations: 0 / 430.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.1043, allocations: 31.98 kB / 430.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.105, allocations: 379.6 kB / 431.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1051, allocations: 58.5 kB / 431.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.1051, allocations: 12.86 kB / 431.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.1051, allocations: 4.156 kB / 431.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1052, allocations: 30.56 kB / 431.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1052, allocations: 4 kB / 431.2 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008048/0.106, allocations: 0.5136 MB / 431.7 MB, free: 404 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.106, allocations: 51.41 kB / 431.8 MB, free: 340 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1061, allocations: 125.7 kB / 431.9 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1061, allocations: 30.17 kB / 431.9 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.1062, allocations: 92.09 kB / 432 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.1062, allocations: 39.67 kB / 432.1 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1063, allocations: 25.72 kB / 432.1 MB, free: 0 / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1064, allocations: 322.9 kB / 432.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.1065, allocations: 23.86 kB / 432.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.1066, allocations: 59.89 kB / 432.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1067, allocations: 85.09 kB / 432.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1067, allocations: 0 / 432.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001678/0.1068, allocations: 113.6 kB / 432.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1069, allocations: 10.17 kB / 432.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1069, allocations: 96 / 432.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1069, allocations: 8 kB / 432.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.107, allocations: 23.94 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.107, allocations: 8.156 kB / 432.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.107, allocations: 8 kB / 432.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.107, allocations: 4 kB / 432.8 MB, free: 15.3 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 8.786e-05/0.1071, allocations: 117.8 kB / 432.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1072, allocations: 7.953 kB / 432.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.1072, allocations: 12.38 kB / 432.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1072, allocations: 4 kB / 432.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1072, allocations: 3.938 kB / 432.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1072, allocations: 7.938 kB / 432.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.1077, allocations: 398.6 kB / 433.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1077, allocations: 4 kB / 433.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.717e-05/0.1078, allocations: 20.14 kB / 433.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1078, allocations: 8 kB / 433.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1078, allocations: 11.94 kB / 433.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1078, allocations: 3.984 kB / 433.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1078, allocations: 0 / 433.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1081, allocations: 235.7 kB / 433.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.1081, allocations: 85.09 kB / 433.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1082, allocations: 11.98 kB / 433.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.1082, allocations: 3.828 kB / 433.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.1082, allocations: 4 kB / 433.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1082, allocations: 4 kB / 433.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.796e-05/0.1083, allocations: 107.3 kB / 433.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1083, allocations: 0 / 433.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1086, allocations: 16 kB / 433.8 MB, free: 14.12 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.000117/0.1087, allocations: 99.25 kB / 433.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1088, allocations: 63.78 kB / 434 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1088, allocations: 0 / 434 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.1089, allocations: 28.38 kB / 434 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1092, allocations: 21.98 kB / 434 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.1098, allocations: 368.6 kB / 434.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1102, allocations: 0.6963 MB / 435.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.1102, allocations: 11.44 kB / 435.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1102, allocations: 0 / 435.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Templates: time 0.002703/0.1129, allocations: 0.9964 MB / 436.1 MB, free: 11.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.583639411022887]