Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007633/0.0007633, allocations: 101.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009261/0.0009261, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002314/0.0002316, allocations: 4 kB / 307.1 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09285, allocations: 51.53 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002126/0.09501, allocations: 1.885 MB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003514/0.09538, allocations: 195.3 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.09546, allocations: 4 kB / 360.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.02e-05/0.09552, allocations: 27.77 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.09567, allocations: 51.61 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.09582, allocations: 31.97 kB / 360.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.09604, allocations: 227 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.09622, allocations: 85.89 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.09632, allocations: 79.7 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.09646, allocations: 83.62 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.09649, allocations: 12 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.09654, allocations: 12 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.09658, allocations: 31.84 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.09663, allocations: 69.58 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.09682, allocations: 191.7 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.09683, allocations: 0 / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.09684, allocations: 0 / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.09685, allocations: 4 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005902/0.09745, allocations: 475.2 kB / 362.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.09749, allocations: 12.03 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.09755, allocations: 23.72 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.09776, allocations: 218.7 kB / 362.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.09779, allocations: 16.56 kB / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.09784, allocations: 24 kB / 362.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.0982, allocations: 228.3 kB / 362.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.09822, allocations: 3.906 kB / 362.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.09826, allocations: 12 kB / 362.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.09827, allocations: 11.88 kB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.09849, allocations: 127.9 kB / 362.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.09951, allocations: 0.8675 MB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.09976, allocations: 155.7 kB / 363.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.09985, allocations: 58.56 kB / 363.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.09987, allocations: 4 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.0999, allocations: 42.5 kB / 363.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.09991, allocations: 0 / 363.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003631/0.1003, allocations: 169.7 kB / 364 MB, free: 7.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1003, allocations: 106.8 kB / 364.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1005, allocations: 202.1 kB / 364.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1006, allocations: 29.7 kB / 364.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.1007, allocations: 159.9 kB / 364.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.1007, allocations: 67.08 kB / 364.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.1007, allocations: 7.938 kB / 364.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1009, allocations: 326.8 kB / 364.9 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.101, allocations: 48.48 kB / 364.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1011, allocations: 159.6 kB / 365.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1012, allocations: 71.94 kB / 365.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1013, allocations: 4 kB / 365.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003355/0.1016, allocations: 241.8 kB / 365.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1016, allocations: 4 kB / 365.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1016, allocations: 4.156 kB / 365.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1017, allocations: 8.438 kB / 365.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.1019, allocations: 67.91 kB / 365.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.1019, allocations: 15.88 kB / 365.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.102, allocations: 27.69 kB / 365.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.102, allocations: 12 kB / 365.5 MB, free: 6.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.1021, allocations: 137.7 kB / 365.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.1022, allocations: 23.72 kB / 365.7 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.1023, allocations: 25.39 kB / 365.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1023, allocations: 4 kB / 365.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1023, allocations: 4 kB / 365.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1023, allocations: 3.953 kB / 365.7 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1028, allocations: 416.9 kB / 366.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1029, allocations: 0 / 366.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.103, allocations: 43.86 kB / 366.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1031, allocations: 4 kB / 366.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1031, allocations: 7.953 kB / 366.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1031, allocations: 8.094 kB / 366.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1031, allocations: 0 / 366.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.1034, allocations: 373.4 kB / 366.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.1035, allocations: 96.89 kB / 366.7 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.1036, allocations: 12 kB / 366.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1037, allocations: 7.953 kB / 366.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.1038, allocations: 11.98 kB / 366.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1038, allocations: 4 kB / 366.7 MB, free: 4.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1039, allocations: 139.2 kB / 366.8 MB, free: 4.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1039, allocations: 0 / 366.8 MB, free: 4.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.1043, allocations: 51.84 kB / 366.9 MB, free: 4.707 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001099/0.1044, allocations: 107.2 kB / 367 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1046, allocations: 135.8 kB / 367.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1046, allocations: 0 / 367.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.1047, allocations: 55.86 kB / 367.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1052, allocations: 29.17 kB / 367.2 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1062, allocations: 0.7266 MB / 367.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1066, allocations: 0.7284 MB / 368.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.135e-05/0.1066, allocations: 21.94 kB / 368.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.1067, allocations: 19.44 kB / 368.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.234e-06/0.1067, allocations: 0 / 368.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of Templates: time 0.003945/0.1107, allocations: 1.412 MB / 370.1 MB, free: 1.422 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches