Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 107.1 kB / 20.32 MB, free: 2.016 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 196.2 kB / 23.48 MB, free: 5.332 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.6 MB / 234 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 59.92 kB / 345.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2847, allocations: 49.12 MB / 394.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003039/0.2877, allocations: 2.255 MB / 397.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003847/0.2881, allocations: 190.4 kB / 397.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.2882, allocations: 4.781 kB / 397.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.77e-05/0.2883, allocations: 39.08 kB / 397.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.2885, allocations: 63.03 kB / 397.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.2886, allocations: 55.16 kB / 397.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.2888, allocations: 230.8 kB / 397.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.289, allocations: 88.08 kB / 397.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2891, allocations: 87.36 kB / 397.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.2893, allocations: 108.2 kB / 398 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.2893, allocations: 20.66 kB / 398 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.33e-05/0.2894, allocations: 21.16 kB / 398.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.2894, allocations: 46.5 kB / 398.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.2895, allocations: 111.8 kB / 398.2 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2898, allocations: 262.1 kB / 398.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2898, allocations: 0 / 398.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2898, allocations: 0 / 398.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.2898, allocations: 5.344 kB / 398.5 MB, free: 7.121 MB / 318.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.0006631/0.2905, allocations: 0.5121 MB / 399 MB, free: 6.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2905, allocations: 9.438 kB / 399 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.2906, allocations: 25.44 kB / 399 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.2908, allocations: 216.8 kB / 399.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2908, allocations: 18.03 kB / 399.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.2908, allocations: 22.59 kB / 399.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.2912, allocations: 231.1 kB / 399.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2912, allocations: 5.469 kB / 399.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2912, allocations: 13.44 kB / 399.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2912, allocations: 7.266 kB / 399.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.2915, allocations: 135.9 kB / 399.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2925, allocations: 0.8561 MB / 400.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2927, allocations: 150.4 kB / 400.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.2928, allocations: 65.66 kB / 400.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2928, allocations: 3.156 kB / 400.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.2928, allocations: 42.08 kB / 400.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.2928, allocations: 0 / 400.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003554/0.2932, allocations: 172.3 kB / 400.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.2932, allocations: 106 kB / 401 MB, free: 5.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2934, allocations: 212.2 kB / 401.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2934, allocations: 27.36 kB / 401.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2935, allocations: 162.7 kB / 401.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.2935, allocations: 69.78 kB / 401.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.2936, allocations: 48.77 kB / 401.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.2937, allocations: 327.7 kB / 401.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.2938, allocations: 49.05 kB / 401.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2939, allocations: 161 kB / 402.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.2941, allocations: 215.8 kB / 402.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2941, allocations: 1.281 kB / 402.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003407/0.2944, allocations: 247.5 kB / 402.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2945, allocations: 10.64 kB / 402.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.2945, allocations: 7.625 kB / 402.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2945, allocations: 5.812 kB / 402.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.2947, allocations: 65.95 kB / 402.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2947, allocations: 6.469 kB / 402.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2948, allocations: 28.88 kB / 402.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2949, allocations: 13.97 kB / 402.7 MB, free: 3.844 MB / 318.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 7.979e-05/0.2949, allocations: 141.8 kB / 402.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.295, allocations: 22.09 kB / 402.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.2951, allocations: 24.55 kB / 402.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2951, allocations: 5.859 kB / 402.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2951, allocations: 1.719 kB / 402.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2951, allocations: 1.859 kB / 402.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.2955, allocations: 430.9 kB / 403.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2955, allocations: 1.344 kB / 403.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2957, allocations: 35.36 kB / 403.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2957, allocations: 2.547 kB / 403.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2958, allocations: 3.531 kB / 403.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2958, allocations: 2.344 kB / 403.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2958, allocations: 4.938 kB / 403.3 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.2961, allocations: 380.4 kB / 403.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.2961, allocations: 93.42 kB / 403.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2961, allocations: 6.75 kB / 403.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2963, allocations: 1.812 kB / 403.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.2963, allocations: 26.05 kB / 403.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2963, allocations: 8.438 kB / 403.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.517e-05/0.2964, allocations: 144.2 kB / 404 MB, free: 2.758 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2964, allocations: 0 / 404 MB, free: 2.758 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.2968, allocations: 53.7 kB / 404 MB, free: 2.746 MB / 318.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 8.622e-05/0.2969, allocations: 102.6 kB / 404.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.2971, allocations: 140.1 kB / 404.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2971, allocations: 1 kB / 404.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.2972, allocations: 55.81 kB / 404.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.2977, allocations: 39.98 kB / 404.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.2986, allocations: 0.6117 MB / 405 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2987, allocations: 0.7355 MB / 405.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.2988, allocations: 23.97 kB / 405.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2988, allocations: 0 / 405.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of Templates: time 0.004691/0.3035, allocations: 2.312 MB / 408 MB, free: 1.109 MB / 318.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches