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.001969/0.001969, allocations: 107.6 kB / 21.18 MB, free: 452 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.002536/0.002536, allocations: 215 kB / 24.47 MB, free: 3.777 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.444/1.444, allocations: 207.7 MB / 235.3 MB, free: 9.793 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [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.00194/0.00194, allocations: 54.58 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3249, allocations: 49.16 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00484/0.3297, allocations: 1.904 MB / 398.2 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3312, allocations: 0.5235 MB / 398.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.3314, allocations: 3.594 kB / 398.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.3315, allocations: 28.66 kB / 398.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.3317, allocations: 35.89 kB / 398.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.332, allocations: 41.88 kB / 398.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.3323, allocations: 145.5 kB / 399 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.3326, allocations: 54.39 kB / 399.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.3327, allocations: 66.47 kB / 399.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.3329, allocations: 57.06 kB / 399.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.3329, allocations: 13.38 kB / 399.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.333, allocations: 14.31 kB / 399.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.333, allocations: 29.89 kB / 399.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.547e-05/0.3331, allocations: 67.45 kB / 399.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.3334, allocations: 174.4 kB / 399.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3335, allocations: 1.547 kB / 399.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3335, allocations: 3.938 kB / 399.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3335, allocations: 0 / 399.5 MB, free: 6.887 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.0007239/0.3342, allocations: 361.7 kB / 399.8 MB, free: 6.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3342, allocations: 14.2 kB / 399.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.3343, allocations: 47.11 kB / 399.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.3343, allocations: 21.06 kB / 399.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.3347, allocations: 149.7 kB / 400.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.3347, allocations: 9.406 kB / 400.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.3347, allocations: 19.05 kB / 400.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.3352, allocations: 142.9 kB / 400.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3352, allocations: 2.047 kB / 400.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.3352, allocations: 9.344 kB / 400.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3352, allocations: 3 kB / 400.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.3356, allocations: 96.06 kB / 400.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3366, allocations: 439.8 kB / 400.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.3369, allocations: 75.48 kB / 400.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.337, allocations: 28.97 kB / 400.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.337, allocations: 2.156 kB / 400.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.337, allocations: 36.23 kB / 400.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.337, allocations: 0 / 400.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001333/0.3384, allocations: 469.1 kB / 401.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.3384, allocations: 57.19 kB / 401.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3385, allocations: 134.3 kB / 401.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3385, allocations: 25.7 kB / 401.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.3386, allocations: 135.7 kB / 401.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.3387, allocations: 48.66 kB / 401.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.3387, allocations: 30.92 kB / 401.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.3388, allocations: 321.7 kB / 402.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3389, allocations: 33.92 kB / 402.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3391, allocations: 91.91 kB / 402.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.3394, allocations: 130.2 kB / 402.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3394, allocations: 0 / 402.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004487/0.3398, allocations: 159.4 kB / 402.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3399, allocations: 7.484 kB / 402.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3399, allocations: 1.125 kB / 402.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3399, allocations: 2.906 kB / 402.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.3402, allocations: 41.88 kB / 402.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3402, allocations: 3.359 kB / 402.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.3403, allocations: 12.42 kB / 402.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3403, allocations: 6.312 kB / 402.6 MB, free: 4.434 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.0001061/0.3404, allocations: 129.1 kB / 402.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.3405, allocations: 9.031 kB / 402.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.3405, allocations: 11.84 kB / 402.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3405, allocations: 4.969 kB / 402.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3405, allocations: 1.75 kB / 402.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3405, allocations: 5.109 kB / 402.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007817/0.3413, allocations: 411.4 kB / 403.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3413, allocations: 5.438 kB / 403.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.3416, allocations: 27.38 kB / 403.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3416, allocations: 1.125 kB / 403.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3416, allocations: 3.156 kB / 403.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3416, allocations: 1.062 kB / 403.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3416, allocations: 1.953 kB / 403.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.3421, allocations: 251.9 kB / 403.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.3421, allocations: 11.94 kB / 403.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.3421, allocations: 2.891 kB / 403.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.3423, allocations: 7.047 kB / 403.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3423, allocations: 11.72 kB / 403.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3423, allocations: 3.469 kB / 403.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.765e-05/0.3424, allocations: 103.9 kB / 403.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3424, allocations: 0 / 403.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005123/0.3429, allocations: 26.59 kB / 403.6 MB, free: 3.629 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.0006359/0.3435, allocations: 0.7756 MB / 404.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.3439, allocations: 93.28 kB / 404.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3439, allocations: 0 / 404.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3441, allocations: 39.08 kB / 404.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.3446, allocations: 14.94 kB / 404.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.3472, allocations: 1.881 MB / 406.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3473, allocations: 95.47 kB / 406.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.922e-05/0.3474, allocations: 14.09 kB / 406.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.3475, allocations: 35.64 kB / 406.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3475, allocations: 1.188 kB / 406.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/0.3899, allocations: 2.905 MB / 409.4 MB, free: 0 / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.77, allocations: 1.484 kB / 409.4 MB, free: 16 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/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: 14.281133031006902]