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.001984/0.001984, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.409/1.409, allocations: 205.4 MB / 222.9 MB, free: 9.043 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.0007252/0.0007252, allocations: 81.55 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.000304, allocations: 12 kB / 327.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 47.58 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00173/0.2154, allocations: 1.862 MB / 376.9 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003049/0.2157, allocations: 192.8 kB / 377.1 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.2158, allocations: 5.188 kB / 377.1 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.784e-05/0.2158, allocations: 30.89 kB / 377.2 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.216, allocations: 46.86 kB / 377.2 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.2161, allocations: 38.25 kB / 377.3 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.2163, allocations: 224.3 kB / 377.5 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.2165, allocations: 88.41 kB / 377.6 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.2166, allocations: 76.59 kB / 377.6 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.2167, allocations: 83.84 kB / 377.7 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.2167, allocations: 12.09 kB / 377.7 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.433e-05/0.2168, allocations: 15.53 kB / 377.7 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.2168, allocations: 30.28 kB / 377.8 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.2169, allocations: 125.3 kB / 377.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.217, allocations: 195.6 kB / 378.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2171, allocations: 1.031 kB / 378.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2171, allocations: 3.938 kB / 378.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.2171, allocations: 0 / 378.1 MB, free: 43.14 MB / 298.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.0005272/0.2176, allocations: 478.5 kB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2176, allocations: 10.25 kB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.2177, allocations: 24.47 kB / 378.6 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2179, allocations: 218.4 kB / 378.8 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2179, allocations: 25.33 kB / 378.8 MB, free: 42.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.2179, allocations: 19.53 kB / 378.8 MB, free: 42.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.2182, allocations: 233 kB / 379.1 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2183, allocations: 5.125 kB / 379.1 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.2183, allocations: 14.31 kB / 379.1 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2183, allocations: 5.375 kB / 379.1 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.2185, allocations: 128.5 kB / 379.2 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008872/0.2194, allocations: 0.8625 MB / 380.1 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2196, allocations: 153.1 kB / 380.2 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.2197, allocations: 71.64 kB / 380.3 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.2197, allocations: 2.75 kB / 380.3 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.2198, allocations: 40.56 kB / 380.4 MB, free: 41.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.2198, allocations: 0 / 380.4 MB, free: 41.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003197/0.2201, allocations: 163.8 kB / 380.5 MB, free: 41.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2201, allocations: 109.1 kB / 380.6 MB, free: 40.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.2203, allocations: 203.2 kB / 380.8 MB, free: 40.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2203, allocations: 30.64 kB / 380.8 MB, free: 40.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.2204, allocations: 163.3 kB / 381 MB, free: 40.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.2204, allocations: 62.41 kB / 381.1 MB, free: 40.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.2204, allocations: 5.969 kB / 381.1 MB, free: 40.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.2205, allocations: 326.4 kB / 381.4 MB, free: 40.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.2206, allocations: 45.77 kB / 381.4 MB, free: 40.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.2207, allocations: 154.6 kB / 381.6 MB, free: 40.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.2209, allocations: 223.1 kB / 381.8 MB, free: 39.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2209, allocations: 1.344 kB / 381.8 MB, free: 39.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003096/0.2212, allocations: 246.7 kB / 382 MB, free: 39.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2212, allocations: 9.781 kB / 382.1 MB, free: 39.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2212, allocations: 4.531 kB / 382.1 MB, free: 39.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2213, allocations: 5.438 kB / 382.1 MB, free: 39.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.2215, allocations: 55.52 kB / 382.1 MB, free: 39.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2215, allocations: 12.86 kB / 382.1 MB, free: 39.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.2216, allocations: 28.72 kB / 382.2 MB, free: 39.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2216, allocations: 21.78 kB / 382.2 MB, free: 39.64 MB / 298.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 8.556e-05/0.2217, allocations: 136.8 kB / 382.3 MB, free: 39.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.2218, allocations: 29.88 kB / 382.3 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.2219, allocations: 29.52 kB / 382.4 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2219, allocations: 1.531 kB / 382.4 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2219, allocations: 5.375 kB / 382.4 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2219, allocations: 1.375 kB / 382.4 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.2223, allocations: 417.3 kB / 382.8 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2223, allocations: 0.9062 kB / 382.8 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.2225, allocations: 42.97 kB / 382.8 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2225, allocations: 2.219 kB / 382.8 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2226, allocations: 6.75 kB / 382.8 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2226, allocations: 2.281 kB / 382.8 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2226, allocations: 1.031 kB / 382.8 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.2229, allocations: 373.6 kB / 383.2 MB, free: 38.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.223, allocations: 99.61 kB / 383.3 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.223, allocations: 7.062 kB / 383.3 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.2231, allocations: 5.156 kB / 383.3 MB, free: 38.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.2232, allocations: 18.33 kB / 383.3 MB, free: 38.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2232, allocations: 8.5 kB / 383.3 MB, free: 38.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.139e-05/0.2233, allocations: 135.7 kB / 383.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2233, allocations: 0 / 383.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.2236, allocations: 57.06 kB / 383.5 MB, free: 38.47 MB / 298.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 8.667e-05/0.2237, allocations: 105.5 kB / 383.6 MB, free: 38.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.224, allocations: 140.6 kB / 383.8 MB, free: 38.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.224, allocations: 0 / 383.8 MB, free: 38.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.2241, allocations: 59.97 kB / 383.8 MB, free: 38.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.2245, allocations: 28.61 kB / 383.9 MB, free: 38.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.2254, allocations: 0.7478 MB / 384.6 MB, free: 37.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.2256, allocations: 0.7377 MB / 385.3 MB, free: 36.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.2256, allocations: 19.62 kB / 385.4 MB, free: 36.91 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2256, allocations: 0 / 385.4 MB, free: 36.91 MB / 298.7 MB Notification: Performance of Templates: time 0.003491/0.2291, allocations: 2.249 MB / 387.6 MB, free: 35.62 MB / 298.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/jenkins/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