Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 104.4 kB / 17.74 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.001791, allocations: 187.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3217, allocations: 49.43 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003318/0.325, allocations: 1.976 MB / 403.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.3259, allocations: 0.5025 MB / 403.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.326, allocations: 0 / 403.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3261, allocations: 23.8 kB / 403.9 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.628e-05/0.3262, allocations: 39.64 kB / 403.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3264, allocations: 39.95 kB / 404 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3266, allocations: 147.4 kB / 404.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3268, allocations: 65.52 kB / 404.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3269, allocations: 79.64 kB / 404.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.327, allocations: 67.7 kB / 404.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.3271, allocations: 16 kB / 404.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/0.3271, allocations: 12 kB / 404.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.3271, allocations: 35.91 kB / 404.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.293e-05/0.3272, allocations: 67.67 kB / 404.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3274, allocations: 164.6 kB / 404.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3274, allocations: 0 / 404.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3274, allocations: 0 / 404.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3275, allocations: 0 / 404.6 MB, free: 5.812 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.0006692/0.3281, allocations: 439 kB / 405 MB, free: 5.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.3282, allocations: 12.03 kB / 405.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.3283, allocations: 20.73 kB / 405.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3285, allocations: 204.1 kB / 405.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3285, allocations: 12.38 kB / 405.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.3286, allocations: 16.38 kB / 405.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.3289, allocations: 142.9 kB / 405.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3289, allocations: 8 kB / 405.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3289, allocations: 8 kB / 405.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3289, allocations: 4 kB / 405.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.3291, allocations: 91.69 kB / 405.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/0.3299, allocations: 0.5326 MB / 406.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3301, allocations: 90.47 kB / 406.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.3302, allocations: 24.84 kB / 406.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.3302, allocations: 4 kB / 406.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3302, allocations: 34.56 kB / 406.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3302, allocations: 0 / 406.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.00101/0.3312, allocations: 0.5874 MB / 406.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.3313, allocations: 59.33 kB / 406.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3314, allocations: 140.9 kB / 407 MB, free: 3.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3314, allocations: 25.7 kB / 407 MB, free: 3.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.3315, allocations: 132 kB / 407.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3316, allocations: 47.45 kB / 407.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.3316, allocations: 33.61 kB / 407.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3318, allocations: 322.8 kB / 407.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.3318, allocations: 31.98 kB / 407.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.332, allocations: 90.8 kB / 407.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.3322, allocations: 130.7 kB / 407.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3322, allocations: 4 kB / 407.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002847/0.3325, allocations: 149.4 kB / 408 MB, free: 2.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3325, allocations: 4 kB / 408 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3325, allocations: 4 kB / 408 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3325, allocations: 4 kB / 408 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3327, allocations: 39.91 kB / 408 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.3327, allocations: 8.688 kB / 408 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.3328, allocations: 8 kB / 408 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3328, allocations: 8 kB / 408 MB, free: 2.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 0.000109/0.3329, allocations: 133.7 kB / 408.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.333, allocations: 7.906 kB / 408.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.333, allocations: 12.36 kB / 408.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.333, allocations: 3.938 kB / 408.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.333, allocations: 7.938 kB / 408.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.333, allocations: 0 / 408.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.3336, allocations: 451.9 kB / 408.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3336, allocations: 4 kB / 408.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.3337, allocations: 23.98 kB / 408.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3337, allocations: 0 / 408.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3337, allocations: 8 kB / 408.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3337, allocations: 0 / 408.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3337, allocations: 4 kB / 408.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.3341, allocations: 253.1 kB / 408.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.3341, allocations: 85.05 kB / 409 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3342, allocations: 4 kB / 409 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.3342, allocations: 4 kB / 409 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3343, allocations: 12.05 kB / 409 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3343, allocations: 4 kB / 409 MB, free: 0.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.845e-05/0.3344, allocations: 99.27 kB / 409.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.236e-06/0.3344, allocations: 0 / 409.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.3346, allocations: 31.88 kB / 409.2 MB, free: 0.7891 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.0001064/0.3347, allocations: 99.72 kB / 409.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.335, allocations: 99.83 kB / 409.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.335, allocations: 0 / 409.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.3351, allocations: 39.92 kB / 409.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3354, allocations: 20.22 kB / 409.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.3363, allocations: 450 kB / 409.9 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.3367, allocations: 0.708 MB / 410.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.3368, allocations: 15.44 kB / 410.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3368, allocations: 0 / 410.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Templates: time 0.00293/0.3397, allocations: 1.478 MB / 412.1 MB, free: 13.82 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches