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.002569/0.002569, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002355/0.002355, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.652/1.652, allocations: 207.6 MB / 236 MB, free: 9.988 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.002014/0.002014, allocations: 55.92 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3058, allocations: 49.17 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003055/0.3088, allocations: 1.992 MB / 399.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.3097, allocations: 0.551 MB / 400.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3098, allocations: 7.594 kB / 400.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.3099, allocations: 20.95 kB / 400.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.31, allocations: 38.95 kB / 400.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.3102, allocations: 43.45 kB / 400.2 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3104, allocations: 149.6 kB / 400.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.3105, allocations: 61.83 kB / 400.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3106, allocations: 64.86 kB / 400.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3107, allocations: 66.31 kB / 400.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.3108, allocations: 17.84 kB / 400.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.3108, allocations: 14.41 kB / 400.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.3108, allocations: 37.75 kB / 400.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.3109, allocations: 66.25 kB / 400.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.3111, allocations: 163.8 kB / 400.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3111, allocations: 1.469 kB / 400.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3111, allocations: 0 / 400.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3111, allocations: 0 / 400.9 MB, free: 7.371 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.0005319/0.3116, allocations: 369.8 kB / 401.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3117, allocations: 14.52 kB / 401.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3117, allocations: 16.62 kB / 401.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.3119, allocations: 152.6 kB / 401.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3119, allocations: 9.594 kB / 401.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.312, allocations: 16.61 kB / 401.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.3123, allocations: 146.1 kB / 401.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3123, allocations: 5.656 kB / 401.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3123, allocations: 9.125 kB / 401.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3123, allocations: 7.719 kB / 401.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.3125, allocations: 93.14 kB / 401.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.3132, allocations: 467.8 kB / 402.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3134, allocations: 83.69 kB / 402.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.3134, allocations: 29.81 kB / 402.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3135, allocations: 1.703 kB / 402.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3135, allocations: 35.78 kB / 402.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.3135, allocations: 0 / 402.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008526/0.3143, allocations: 447.5 kB / 402.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.3144, allocations: 57.98 kB / 402.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.3144, allocations: 143.8 kB / 402.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.3145, allocations: 26.98 kB / 403 MB, free: 5.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.3145, allocations: 138.1 kB / 403.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.3145, allocations: 44.94 kB / 403.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.3146, allocations: 35.95 kB / 403.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.3146, allocations: 321.3 kB / 403.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.3147, allocations: 28.42 kB / 403.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/0.3148, allocations: 86.39 kB / 403.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.315, allocations: 133 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.315, allocations: 0 / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002476/0.3152, allocations: 160 kB / 403.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3152, allocations: 5.438 kB / 403.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.3153, allocations: 2.5 kB / 403.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3153, allocations: 6.438 kB / 403.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.3155, allocations: 38.05 kB / 403.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3155, allocations: 7.531 kB / 403.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.3155, allocations: 12.75 kB / 404 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3155, allocations: 10.91 kB / 404 MB, free: 4.938 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 6.911e-05/0.3156, allocations: 132.6 kB / 404.1 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3156, allocations: 9.453 kB / 404.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.3157, allocations: 10.22 kB / 404.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3157, allocations: 2.25 kB / 404.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3157, allocations: 4.547 kB / 404.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3157, allocations: 0.7969 kB / 404.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.3162, allocations: 418.1 kB / 404.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3162, allocations: 1.125 kB / 404.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.3163, allocations: 23.77 kB / 404.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3163, allocations: 1.25 kB / 404.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3163, allocations: 5.891 kB / 404.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3163, allocations: 2.156 kB / 404.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3163, allocations: 5.875 kB / 404.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.3166, allocations: 255.5 kB / 404.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.3166, allocations: 7.453 kB / 404.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3167, allocations: 6.219 kB / 404.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.3167, allocations: 6.359 kB / 404.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.3168, allocations: 6.531 kB / 404.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.3168, allocations: 7.406 kB / 404.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.084e-05/0.3168, allocations: 97.52 kB / 405 MB, free: 4.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3168, allocations: 0 / 405 MB, free: 4.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3171, allocations: 30.53 kB / 405 MB, free: 4.133 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 8.486e-05/0.3172, allocations: 92.25 kB / 405.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3174, allocations: 95.64 kB / 405.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3174, allocations: 4 kB / 405.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.3175, allocations: 38.05 kB / 405.2 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3178, allocations: 16.03 kB / 405.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.3185, allocations: 459.2 kB / 405.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.3186, allocations: 0.7107 MB / 406.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.3187, allocations: 14.95 kB / 406.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3187, allocations: 0 / 406.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Templates: time 0.003504/0.3222, allocations: 1.472 MB / 407.9 MB, free: 2.77 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.169281634036452]