Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 102.4 kB / 21.93 MB, free: 5.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 203.2 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 59.92 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2761, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003151/0.2792, allocations: 1.902 MB / 399.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.2801, allocations: 0.5155 MB / 400 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2802, allocations: 6.531 kB / 400 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2803, allocations: 25.16 kB / 400 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.2804, allocations: 31.31 kB / 400.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.2806, allocations: 47.11 kB / 400.1 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.2808, allocations: 148.3 kB / 400.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.281, allocations: 59.45 kB / 400.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.2811, allocations: 61.86 kB / 400.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.2812, allocations: 57.8 kB / 400.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.2812, allocations: 17.28 kB / 400.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.2813, allocations: 13.47 kB / 400.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.2813, allocations: 35.12 kB / 400.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.2814, allocations: 58.22 kB / 400.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.2816, allocations: 171.4 kB / 400.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2816, allocations: 0 / 400.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2816, allocations: 0 / 400.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.2816, allocations: 0 / 400.7 MB, free: 7.402 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005516/0.2822, allocations: 370.4 kB / 401.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2822, allocations: 14.03 kB / 401.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.2823, allocations: 17.34 kB / 401.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.2825, allocations: 139.3 kB / 401.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2826, allocations: 11.56 kB / 401.3 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.2826, allocations: 27.44 kB / 401.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.2829, allocations: 143.6 kB / 401.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2829, allocations: 0 / 401.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2829, allocations: 5.953 kB / 401.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2829, allocations: 4.188 kB / 401.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.2832, allocations: 100.2 kB / 401.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.2839, allocations: 406.6 kB / 401.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.2841, allocations: 78.88 kB / 402 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.2842, allocations: 29.28 kB / 402 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2842, allocations: 1.875 kB / 402 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.2842, allocations: 40.84 kB / 402.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.2842, allocations: 4 kB / 402.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008914/0.2851, allocations: 451.6 kB / 402.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.2851, allocations: 54.12 kB / 402.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2852, allocations: 141.9 kB / 402.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2852, allocations: 25.7 kB / 402.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.2853, allocations: 135.9 kB / 402.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.2853, allocations: 47.81 kB / 402.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.2854, allocations: 36.2 kB / 403 MB, free: 5.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.2854, allocations: 320.6 kB / 403.3 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.2855, allocations: 34.38 kB / 403.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2856, allocations: 86.75 kB / 403.4 MB, free: 5.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2858, allocations: 131.5 kB / 403.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2858, allocations: 0.9062 kB / 403.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002474/0.286, allocations: 154.9 kB / 403.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.286, allocations: 10.66 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.286, allocations: 1.734 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2861, allocations: 3.406 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.2862, allocations: 40.89 kB / 403.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2862, allocations: 4.281 kB / 403.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.2863, allocations: 12.83 kB / 403.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2863, allocations: 5.891 kB / 403.8 MB, free: 5.027 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.259e-05/0.2864, allocations: 129.5 kB / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.2864, allocations: 8.438 kB / 403.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.2865, allocations: 11.64 kB / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2865, allocations: 2.125 kB / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2865, allocations: 0 / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2865, allocations: 5.859 kB / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.2869, allocations: 373 kB / 404.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2869, allocations: 1.703 kB / 404.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2871, allocations: 31.27 kB / 404.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2871, allocations: 5.75 kB / 404.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2871, allocations: 2.188 kB / 404.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2871, allocations: 1.891 kB / 404.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2871, allocations: 1.25 kB / 404.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.2874, allocations: 249.3 kB / 404.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.2874, allocations: 15.34 kB / 404.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2874, allocations: 12.84 kB / 404.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.2875, allocations: 2.438 kB / 404.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.2876, allocations: 10.53 kB / 404.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2876, allocations: 3.406 kB / 404.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.444e-05/0.2876, allocations: 101.7 kB / 404.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2876, allocations: 0 / 404.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.2879, allocations: 26.44 kB / 404.7 MB, free: 4.262 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.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 (11): * Single equations (assignments): 11 * 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.0001011/0.288, allocations: 97.72 kB / 404.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.2882, allocations: 92.84 kB / 404.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2882, allocations: 0 / 404.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.2883, allocations: 39.25 kB / 404.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2886, allocations: 15.88 kB / 405 MB, free: 4.121 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.2894, allocations: 459.5 kB / 405.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.753e-05/0.2894, allocations: 97.48 kB / 405.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.2895, allocations: 15.66 kB / 405.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2895, allocations: 0 / 405.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Templates: time 0.003751/0.2932, allocations: 1.521 MB / 407 MB, free: 3.523 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.049924812745303]