Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009514/0.0009513, allocations: 181.2 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007257/0.0007257, allocations: 82.42 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002886, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1945, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07746/0.272, allocations: 75.62 MB / 451.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.2723, allocations: 67.97 kB / 451.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008454/0.2807, allocations: 3.444 MB / 454.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2808, allocations: 3.938 kB / 454.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.2808, allocations: 4 kB / 454.9 MB, free: 1.477 MB / 330.7 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.0005394/0.2813, allocations: 467.3 kB / 455.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2814, allocations: 12.03 kB / 455.3 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.2814, allocations: 24.66 kB / 455.3 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2816, allocations: 192 kB / 455.5 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2816, allocations: 16.94 kB / 455.6 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.2816, allocations: 28.31 kB / 455.6 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.282, allocations: 224.9 kB / 455.8 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.282, allocations: 8.094 kB / 455.8 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.282, allocations: 19.94 kB / 455.8 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.282, allocations: 4 kB / 455.8 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.2823, allocations: 127.9 kB / 456 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.2834, allocations: 0.8752 MB / 456.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.2836, allocations: 151.8 kB / 457 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.2837, allocations: 62.56 kB / 457 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.2837, allocations: 3.938 kB / 457 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.2837, allocations: 46.44 kB / 457.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.824e-06/0.2837, allocations: 0 / 457.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003612/0.2841, allocations: 165.7 kB / 457.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.2842, allocations: 106.8 kB / 457.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.2843, allocations: 194.3 kB / 457.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2844, allocations: 25.7 kB / 457.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.2845, allocations: 163.9 kB / 457.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.2845, allocations: 71.09 kB / 457.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.2845, allocations: 4 kB / 457.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2846, allocations: 326.8 kB / 458.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.2847, allocations: 48.48 kB / 458.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2849, allocations: 154.8 kB / 458.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.2851, allocations: 223 kB / 458.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2852, allocations: 3.938 kB / 458.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003339/0.2855, allocations: 237.5 kB / 458.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2855, allocations: 15.97 kB / 458.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2855, allocations: 4 kB / 458.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2856, allocations: 4 kB / 458.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2858, allocations: 63.86 kB / 458.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2858, allocations: 11.92 kB / 458.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2859, allocations: 31.59 kB / 458.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2859, allocations: 12 kB / 458.9 MB, free: 13.04 MB / 346.7 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.0001114/0.2861, allocations: 141.7 kB / 459.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.2861, allocations: 23.75 kB / 459.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.2862, allocations: 25.39 kB / 459.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2862, allocations: 4 kB / 459.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2862, allocations: 0 / 459.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2862, allocations: 0 / 459.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.2867, allocations: 416.9 kB / 459.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2867, allocations: 4.094 kB / 459.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.2869, allocations: 43.91 kB / 459.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2869, allocations: 4 kB / 459.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2869, allocations: 8 kB / 459.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.287, allocations: 0 / 459.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.287, allocations: 0 / 459.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.2873, allocations: 381 kB / 459.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.2874, allocations: 96.89 kB / 460 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.2874, allocations: 8 kB / 460 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.2875, allocations: 4 kB / 460 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.2876, allocations: 15.92 kB / 460.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2876, allocations: 4 kB / 460.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.2877, allocations: 144.2 kB / 460.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2877, allocations: 4 kB / 460.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000333/0.2881, allocations: 59.83 kB / 460.3 MB, free: 11.56 MB / 346.7 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.000115/0.2882, allocations: 103.2 kB / 460.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.2884, allocations: 140.7 kB / 460.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2884, allocations: 4.875 kB / 460.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.2885, allocations: 55.92 kB / 460.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.2889, allocations: 23.98 kB / 460.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.2899, allocations: 0.7525 MB / 461.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.2902, allocations: 0.7323 MB / 462.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.2902, allocations: 19.44 kB / 462.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2903, allocations: 0 / 462.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of Templates: time 0.003473/0.2937, allocations: 2.237 MB / 464.3 MB, free: 7.426 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches