Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) 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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 202.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB 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.001917/0.001917, allocations: 67.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.232, allocations: 50.55 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003321/0.2353, allocations: 2.265 MB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003878/0.2357, allocations: 199.2 kB / 412.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.2358, allocations: 8 kB / 412.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.182e-05/0.2359, allocations: 31.66 kB / 412.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.236, allocations: 59.42 kB / 412.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.2362, allocations: 59.86 kB / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.2364, allocations: 231 kB / 413 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.2366, allocations: 86.53 kB / 413.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2367, allocations: 95.66 kB / 413.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.2369, allocations: 103.5 kB / 413.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.2369, allocations: 20 kB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.789e-05/0.2369, allocations: 24 kB / 413.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.237, allocations: 43.84 kB / 413.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2371, allocations: 115.5 kB / 413.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.2374, allocations: 250.8 kB / 413.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2374, allocations: 0 / 413.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2374, allocations: 0 / 413.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2374, allocations: 4 kB / 413.8 MB, free: 13.87 MB / 334.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.0007521/0.2382, allocations: 0.5068 MB / 414.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.2382, allocations: 12.03 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.2382, allocations: 24.8 kB / 414.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.2385, allocations: 227.9 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2385, allocations: 16.94 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.2385, allocations: 24.38 kB / 414.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.2389, allocations: 236.9 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.239, allocations: 8.109 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.239, allocations: 11.94 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.239, allocations: 4 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.2392, allocations: 127.9 kB / 415 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.2404, allocations: 0.8559 MB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.2406, allocations: 163.9 kB / 416 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.926e-05/0.2407, allocations: 54.56 kB / 416 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.2407, allocations: 0 / 416 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2408, allocations: 50.44 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.2408, allocations: 3.938 kB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003701/0.2412, allocations: 166.2 kB / 416.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.2412, allocations: 106.8 kB / 416.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.2414, allocations: 195.4 kB / 416.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.2414, allocations: 33.69 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2416, allocations: 164.1 kB / 416.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.2416, allocations: 63.44 kB / 416.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.2417, allocations: 57.98 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2418, allocations: 330.8 kB / 417.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.2419, allocations: 48.48 kB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.2421, allocations: 147.7 kB / 417.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.2424, allocations: 233.6 kB / 417.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.2424, allocations: 7.938 kB / 417.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003685/0.2428, allocations: 233.2 kB / 417.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2428, allocations: 12.38 kB / 417.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2428, allocations: 8 kB / 417.8 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2428, allocations: 4 kB / 417.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.2431, allocations: 63.91 kB / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2431, allocations: 7.938 kB / 417.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.2432, allocations: 31.78 kB / 417.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2432, allocations: 8 kB / 418 MB, free: 9.293 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.2433, allocations: 145.7 kB / 418.1 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.2434, allocations: 19.84 kB / 418.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.2435, allocations: 25.41 kB / 418.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2435, allocations: 4 kB / 418.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2435, allocations: 0 / 418.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2435, allocations: 3.984 kB / 418.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.2441, allocations: 421.1 kB / 418.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2441, allocations: 0 / 418.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.2443, allocations: 39.92 kB / 418.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2443, allocations: 8.078 kB / 418.6 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2443, allocations: 8 kB / 418.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2443, allocations: 0 / 418.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2443, allocations: 7.984 kB / 418.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.2447, allocations: 382.2 kB / 419 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.2448, allocations: 101 kB / 419.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.2448, allocations: 0 / 419.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2449, allocations: 8 kB / 419.1 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.245, allocations: 15.91 kB / 419.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.245, allocations: 4 kB / 419.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.2451, allocations: 144.4 kB / 419.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2451, allocations: 0 / 419.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.2455, allocations: 59.83 kB / 419.3 MB, free: 7.805 MB / 334.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 (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.0001072/0.2456, allocations: 103.2 kB / 419.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.2458, allocations: 135.8 kB / 419.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2458, allocations: 0 / 419.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.2459, allocations: 49.42 kB / 419.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.2464, allocations: 43.69 kB / 419.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.2474, allocations: 0.6014 MB / 420.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.2477, allocations: 0.7358 MB / 421 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.2478, allocations: 21.95 kB / 421 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.2479, allocations: 15.44 kB / 421 MB, free: 6.039 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2479, allocations: 4 kB / 421 MB, free: 6.035 MB / 334.1 MB Notification: Performance of Templates: time 0.004686/0.2526, allocations: 1.573 MB / 422.6 MB, free: 4.469 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches