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.001264/0.001264, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.001342/0.001342, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.632/1.632, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.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.001736/0.001736, allocations: 51.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1089, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003993/0.1129, allocations: 1.978 MB / 393.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1141, allocations: 0.55 MB / 393.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.1143, allocations: 8 kB / 393.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1145, allocations: 23.8 kB / 394 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1147, allocations: 35.64 kB / 394 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1149, allocations: 35.95 kB / 394 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.1152, allocations: 151.4 kB / 394.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1154, allocations: 61.36 kB / 394.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1156, allocations: 63.78 kB / 394.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1158, allocations: 71.69 kB / 394.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1158, allocations: 16 kB / 394.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.1159, allocations: 16 kB / 394.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.1159, allocations: 31.86 kB / 394.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.116, allocations: 71.61 kB / 394.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1163, allocations: 167.3 kB / 394.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1163, allocations: 0 / 394.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1163, allocations: 0 / 394.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1163, allocations: 0 / 394.7 MB, free: 5.434 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.0007585/0.1171, allocations: 442.9 kB / 395.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1171, allocations: 8.031 kB / 395.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/0.1172, allocations: 54.67 kB / 395.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.1172, allocations: 16.84 kB / 395.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.1176, allocations: 204.1 kB / 395.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1176, allocations: 12.38 kB / 395.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1177, allocations: 20.36 kB / 395.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.118, allocations: 137.8 kB / 395.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.118, allocations: 7.953 kB / 395.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.118, allocations: 8 kB / 395.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1181, allocations: 11.92 kB / 395.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.1183, allocations: 91.69 kB / 395.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009103/0.1192, allocations: 0.5175 MB / 396.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1194, allocations: 82.48 kB / 396.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.1195, allocations: 24.86 kB / 396.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1195, allocations: 3.984 kB / 396.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1195, allocations: 34.56 kB / 396.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1195, allocations: 0 / 396.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001133/0.1206, allocations: 0.5995 MB / 396.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.1207, allocations: 55.34 kB / 397 MB, free: 2.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1208, allocations: 133.8 kB / 397.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1208, allocations: 25.7 kB / 397.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.1209, allocations: 140.1 kB / 397.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.121, allocations: 47.58 kB / 397.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.121, allocations: 37.7 kB / 397.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1212, allocations: 318.8 kB / 397.7 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-05/0.1213, allocations: 39.97 kB / 397.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1215, allocations: 82.81 kB / 397.8 MB, free: 1.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.1217, allocations: 134.7 kB / 397.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1217, allocations: 4 kB / 397.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002867/0.122, allocations: 157.4 kB / 398.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.122, allocations: 4 kB / 398.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.122, allocations: 4 kB / 398.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.122, allocations: 0 / 398.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1222, allocations: 51.84 kB / 398.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1222, allocations: 0 / 398.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.1223, allocations: 8.188 kB / 398.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1223, allocations: 8 kB / 398.1 MB, free: 1.582 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.0001099/0.1224, allocations: 125.8 kB / 398.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1224, allocations: 7.953 kB / 398.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.1225, allocations: 16.36 kB / 398.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1225, allocations: 3.938 kB / 398.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1225, allocations: 288 / 398.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1225, allocations: 4 kB / 398.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.1231, allocations: 451.9 kB / 398.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1231, allocations: 0 / 398.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1232, allocations: 27.98 kB / 398.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1232, allocations: 0 / 398.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1233, allocations: 4 kB / 398.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1233, allocations: 3.938 kB / 398.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1233, allocations: 0 / 398.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.1237, allocations: 253.1 kB / 399 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1237, allocations: 85.09 kB / 399.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1237, allocations: 4 kB / 399.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.1238, allocations: 4 kB / 399.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.1239, allocations: 20.02 kB / 399.1 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1239, allocations: 8 kB / 399.1 MB, free: 484 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.291e-05/0.1239, allocations: 99.2 kB / 399.2 MB, free: 384 kB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1239, allocations: 0 / 399.2 MB, free: 384 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1242, allocations: 24 kB / 399.3 MB, free: 360 kB / 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.0007165/0.1249, allocations: 0.7881 MB / 400.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1252, allocations: 92.16 kB / 400.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1252, allocations: 0 / 400.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/0.1253, allocations: 36.42 kB / 400.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.1256, allocations: 20 kB / 400.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.1279, allocations: 1.853 MB / 402.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1282, allocations: 0.708 MB / 402.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.663e-05/0.1283, allocations: 16.88 kB / 402.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/0.1284, allocations: 35.44 kB / 402.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1284, allocations: 0 / 402.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.1607, allocations: 2.408 MB / 405.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/7.993, allocations: 7.875 kB / 405.2 MB, free: 10.14 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.660601209994638]