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.001302/0.001302, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2759, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003224/0.2792, allocations: 2.273 MB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004476/0.2796, allocations: 195.2 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.2797, allocations: 8 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2799, allocations: 31.66 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.28, allocations: 59.42 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.2802, allocations: 59.86 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.2805, allocations: 234.9 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.2808, allocations: 114.5 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2809, allocations: 91.7 kB / 413 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2811, allocations: 99.55 kB / 413.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.2811, allocations: 24 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-05/0.2812, allocations: 24 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.2812, allocations: 43.84 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2813, allocations: 111.5 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.2816, allocations: 256.2 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2816, allocations: 0 / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2816, allocations: 0 / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2816, allocations: 0 / 413.5 MB, free: 14.02 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.0007052/0.2824, allocations: 0.507 MB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2824, allocations: 12.03 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.2825, allocations: 24.66 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2827, allocations: 216 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2827, allocations: 12.94 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.2827, allocations: 24.38 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.2831, allocations: 248.8 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2831, allocations: 4.172 kB / 414.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.2832, allocations: 7.938 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2832, allocations: 11.94 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.2834, allocations: 127.9 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2845, allocations: 0.8597 MB / 415.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.2847, allocations: 163.7 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.2848, allocations: 58.56 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2848, allocations: 8.25 kB / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2849, allocations: 38.5 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.2849, allocations: 0 / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003667/0.2853, allocations: 173.6 kB / 416 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.2853, allocations: 110.8 kB / 416.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.2855, allocations: 199.1 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2855, allocations: 25.7 kB / 416.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2857, allocations: 171.7 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.2857, allocations: 59.11 kB / 416.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.2858, allocations: 45.98 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2859, allocations: 334.8 kB / 416.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.286, allocations: 48.55 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.2862, allocations: 152.2 kB / 417.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.2864, allocations: 217.5 kB / 417.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2864, allocations: 4 kB / 417.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003316/0.2868, allocations: 245 kB / 417.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2868, allocations: 11.94 kB / 417.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2868, allocations: 0 / 417.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2868, allocations: 8.438 kB / 417.6 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.287, allocations: 67.91 kB / 417.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.287, allocations: 7.938 kB / 417.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2872, allocations: 27.69 kB / 417.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.2872, allocations: 12 kB / 417.7 MB, free: 9.445 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.0001135/0.2873, allocations: 141.8 kB / 417.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.2874, allocations: 19.75 kB / 417.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.2874, allocations: 21.41 kB / 417.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2875, allocations: 4 kB / 417.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2875, allocations: 4 kB / 417.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2875, allocations: 7.984 kB / 417.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.288, allocations: 420.8 kB / 418.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.288, allocations: 4 kB / 418.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.2882, allocations: 35.92 kB / 418.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2882, allocations: 4 kB / 418.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2882, allocations: 96 / 418.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2882, allocations: 8 kB / 418.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2882, allocations: 3.984 kB / 418.4 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.2886, allocations: 388.9 kB / 418.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.2887, allocations: 96.86 kB / 418.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2887, allocations: 8 kB / 418.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2888, allocations: 0 / 418.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.2889, allocations: 23.91 kB / 418.9 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2889, allocations: 4 kB / 418.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.289, allocations: 139.2 kB / 419 MB, free: 8.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.289, allocations: 0 / 419 MB, free: 8.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003497/0.2894, allocations: 51.91 kB / 419 MB, free: 7.969 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.0001079/0.2895, allocations: 111.1 kB / 419.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2897, allocations: 139.9 kB / 419.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2897, allocations: 0 / 419.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.136e-05/0.2898, allocations: 57 kB / 419.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.2903, allocations: 36.05 kB / 419.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000921/0.2912, allocations: 0.6125 MB / 420 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2916, allocations: 0.7359 MB / 420.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.2916, allocations: 19.44 kB / 420.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2916, allocations: 0 / 420.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of Templates: time 0.003681/0.2953, allocations: 2.316 MB / 423.1 MB, free: 3.875 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches