Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001396/0.001396, allocations: 203.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2337, allocations: 53.37 MB / 431.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003259/0.2369, allocations: 1.936 MB / 433 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.238, allocations: 0.5415 MB / 433.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.2381, allocations: 7.938 kB / 433.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2382, allocations: 23.8 kB / 433.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.552e-05/0.2383, allocations: 35.64 kB / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2386, allocations: 51.88 kB / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.2388, allocations: 151.4 kB / 433.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2389, allocations: 49.72 kB / 433.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.2391, allocations: 75.78 kB / 433.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.2392, allocations: 63.7 kB / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.2393, allocations: 16 kB / 434 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.2393, allocations: 19.98 kB / 434 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.2394, allocations: 35.84 kB / 434.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.2394, allocations: 59.73 kB / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.2397, allocations: 173.2 kB / 434.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2397, allocations: 0 / 434.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2397, allocations: 0 / 434.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.2397, allocations: 4 kB / 434.3 MB, free: 3.676 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.0006249/0.2403, allocations: 369.7 kB / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2404, allocations: 12.03 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.2404, allocations: 50.73 kB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.2405, allocations: 24.83 kB / 434.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.2408, allocations: 146.3 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2408, allocations: 12.38 kB / 434.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.2409, allocations: 20.38 kB / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2412, allocations: 154.4 kB / 435.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.2412, allocations: 7.891 kB / 435.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2412, allocations: 4 kB / 435.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.2412, allocations: 7.984 kB / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.2414, allocations: 83.95 kB / 435.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007749/0.2422, allocations: 447.3 kB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.2424, allocations: 74.48 kB / 435.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.2425, allocations: 32.84 kB / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2425, allocations: 4 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.2425, allocations: 30.75 kB / 435.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2425, allocations: 0 / 435.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009656/0.2435, allocations: 454.7 kB / 436.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2435, allocations: 59.34 kB / 436.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2437, allocations: 136.7 kB / 436.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2437, allocations: 33.7 kB / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2438, allocations: 140.1 kB / 436.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.2438, allocations: 40.7 kB / 436.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.2439, allocations: 33.72 kB / 436.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.244, allocations: 318.8 kB / 436.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.2441, allocations: 35.94 kB / 437 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2442, allocations: 86.78 kB / 437.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.2445, allocations: 142.6 kB / 437.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2445, allocations: 0 / 437.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000274/0.2447, allocations: 153.4 kB / 437.3 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2448, allocations: 4 kB / 437.4 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2448, allocations: 8.188 kB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2448, allocations: 4 kB / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2449, allocations: 39.86 kB / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.245, allocations: 4 kB / 437.4 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.245, allocations: 15.98 kB / 437.4 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2451, allocations: 4 kB / 437.4 MB, free: 264 kB / 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 0.0001083/0.2452, allocations: 121.8 kB / 437.5 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2452, allocations: 7.953 kB / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.2452, allocations: 12.72 kB / 437.6 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2452, allocations: 19.91 kB / 437.6 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2453, allocations: 0 / 437.6 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2453, allocations: 0 / 437.6 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.2458, allocations: 407.1 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2458, allocations: 0 / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.246, allocations: 23.98 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.246, allocations: 4 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.246, allocations: 0 / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.246, allocations: 0 / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.246, allocations: 8.062 kB / 438 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.2464, allocations: 253 kB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.2464, allocations: 12.16 kB / 438.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2464, allocations: 4 kB / 438.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.2465, allocations: 7.938 kB / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.2465, allocations: 11.98 kB / 438.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.2465, allocations: 4 kB / 438.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.848e-05/0.2466, allocations: 95.27 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2466, allocations: 0 / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.2469, allocations: 32.06 kB / 438.4 MB, free: 15.17 MB / 350.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.0006606/0.2475, allocations: 0.7922 MB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.2478, allocations: 91.83 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2478, allocations: 0 / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.2478, allocations: 32.42 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2482, allocations: 23.3 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2504, allocations: 1.863 MB / 441.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.2505, allocations: 109.5 kB / 441.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.464e-05/0.2506, allocations: 12.97 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.2507, allocations: 43.42 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2507, allocations: 0 / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.2831, allocations: 2.978 MB / 444.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.34, allocations: 10.69 kB / 444.4 MB, free: 9.168 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.858421796001494]