Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001129, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 59.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3153, allocations: 50.54 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003002/0.3183, allocations: 1.992 MB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.3193, allocations: 0.5726 MB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.994e-05/0.3194, allocations: 8 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.3195, allocations: 19.78 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.3196, allocations: 39.64 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.3199, allocations: 51.88 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.3201, allocations: 143.4 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3202, allocations: 77.5 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3204, allocations: 71.77 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3205, allocations: 63.7 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.3205, allocations: 16 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.545e-05/0.3206, allocations: 20 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.3206, allocations: 35.84 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.3207, allocations: 75.66 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.321, allocations: 166.3 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.321, allocations: 0 / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.321, allocations: 4 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.321, allocations: 0 / 412.1 MB, free: 14.19 MB / 334.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.0005767/0.3216, allocations: 450.8 kB / 412.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3216, allocations: 11.97 kB / 412.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.3217, allocations: 50.73 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.3218, allocations: 24.83 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3221, allocations: 212.1 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3221, allocations: 12.31 kB / 412.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.3221, allocations: 16.38 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.3224, allocations: 141.5 kB / 413 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3225, allocations: 3.953 kB / 413 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3225, allocations: 11.98 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3225, allocations: 4 kB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.3227, allocations: 91.89 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.3234, allocations: 0.5175 MB / 413.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.3236, allocations: 78.55 kB / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.3237, allocations: 28.84 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3237, allocations: 3.984 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3238, allocations: 38.56 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3238, allocations: 4 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009943/0.3248, allocations: 0.5916 MB / 414.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.3248, allocations: 63.28 kB / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3249, allocations: 130.1 kB / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.325, allocations: 25.98 kB / 414.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.3251, allocations: 144.1 kB / 414.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.3251, allocations: 47.58 kB / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.3252, allocations: 33.66 kB / 414.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3253, allocations: 322.8 kB / 415.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.3254, allocations: 27.98 kB / 415.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3255, allocations: 93.19 kB / 415.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3257, allocations: 130.7 kB / 415.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3257, allocations: 8 kB / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002502/0.326, allocations: 153.5 kB / 415.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.326, allocations: 11 kB / 415.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.326, allocations: 4 kB / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.326, allocations: 4 kB / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3262, allocations: 39.92 kB / 415.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3262, allocations: 11.91 kB / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.3263, allocations: 4 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3263, allocations: 12 kB / 415.6 MB, free: 10.31 MB / 334.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 8.812e-05/0.3264, allocations: 129.7 kB / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.3264, allocations: 11.95 kB / 415.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.3265, allocations: 12.72 kB / 415.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3265, allocations: 7.938 kB / 415.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3265, allocations: 3.984 kB / 415.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3265, allocations: 0 / 415.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.327, allocations: 444.1 kB / 416.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.327, allocations: 96 / 416.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3272, allocations: 35.92 kB / 416.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3272, allocations: 0 / 416.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.3272, allocations: 4 kB / 416.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3272, allocations: 0 / 416.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3272, allocations: 0 / 416.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3275, allocations: 257 kB / 416.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.3276, allocations: 93.03 kB / 416.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3276, allocations: 4 kB / 416.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.3277, allocations: 0 / 416.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.3277, allocations: 11.98 kB / 416.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3278, allocations: 4 kB / 416.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.3278, allocations: 98.5 kB / 416.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3278, allocations: 0 / 416.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3281, allocations: 28 kB / 416.7 MB, free: 9.078 MB / 334.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.0005752/0.3287, allocations: 0.7884 MB / 417.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.329, allocations: 91.91 kB / 417.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.329, allocations: 0 / 417.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.3291, allocations: 43.91 kB / 417.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3294, allocations: 12 kB / 417.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3313, allocations: 1.862 MB / 419.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3316, allocations: 0.7157 MB / 420.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.627e-05/0.3317, allocations: 16.88 kB / 420.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.3318, allocations: 43.36 kB / 420.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3318, allocations: 3.938 kB / 420.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.3508, allocations: 2.41 MB / 422.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.133, allocations: 7 kB / 422.7 MB, free: 2.98 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/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_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches