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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 59.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1185, allocations: 53.38 MB / 426.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003473/0.122, allocations: 2.011 MB / 428.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.123, allocations: 0.5726 MB / 428.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.1231, allocations: 7.938 kB / 428.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.1232, allocations: 23.78 kB / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.161e-05/0.1233, allocations: 35.64 kB / 429 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1236, allocations: 51.94 kB / 429 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1238, allocations: 151.4 kB / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1239, allocations: 49.52 kB / 429.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1241, allocations: 75.78 kB / 429.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1242, allocations: 63.7 kB / 429.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.1242, allocations: 16 kB / 429.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.1243, allocations: 19.98 kB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.1243, allocations: 27.92 kB / 429.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.1244, allocations: 75.59 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.1247, allocations: 175.2 kB / 429.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1247, allocations: 0 / 429.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1247, allocations: 4 kB / 429.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1247, allocations: 0 / 429.7 MB, free: 1.262 MB / 350.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.000663/0.1253, allocations: 449.4 kB / 430.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.1254, allocations: 8.031 kB / 430.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.1254, allocations: 50.73 kB / 430.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.1256, allocations: 28.83 kB / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1258, allocations: 208.1 kB / 430.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1258, allocations: 8.375 kB / 430.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.009e-05/0.1259, allocations: 20.38 kB / 430.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.1261, allocations: 141.5 kB / 430.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1262, allocations: 3.953 kB / 430.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1262, allocations: 4 kB / 430.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1262, allocations: 4 kB / 430.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.1264, allocations: 95.88 kB / 430.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008056/0.1272, allocations: 0.5252 MB / 431.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1274, allocations: 74.55 kB / 431.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.1274, allocations: 28.84 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1275, allocations: 3.938 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1275, allocations: 34.56 kB / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1275, allocations: 0 / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001049/0.1285, allocations: 0.5987 MB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1286, allocations: 59.34 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1287, allocations: 132.2 kB / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1287, allocations: 29.7 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.1288, allocations: 136.1 kB / 432.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1289, allocations: 43.58 kB / 432.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1289, allocations: 33.72 kB / 432.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1291, allocations: 322.8 kB / 432.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.1291, allocations: 31.92 kB / 432.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1293, allocations: 90.78 kB / 432.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.1295, allocations: 131.8 kB / 432.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1295, allocations: 0 / 432.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002865/0.1298, allocations: 169.5 kB / 433.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1298, allocations: 8.031 kB / 433.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1298, allocations: 4 kB / 433.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1298, allocations: 4 kB / 433.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1299, allocations: 39.92 kB / 433.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.13, allocations: 3.938 kB / 433.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.13, allocations: 11.98 kB / 433.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.13, allocations: 8 kB / 433.2 MB, free: 13.39 MB / 366.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.0001137/0.1302, allocations: 117.8 kB / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1302, allocations: 15.95 kB / 433.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.1302, allocations: 12.72 kB / 433.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1302, allocations: 3.938 kB / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1302, allocations: 4 kB / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1302, allocations: 0 / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.1308, allocations: 444 kB / 433.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1308, allocations: 0 / 433.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1309, allocations: 31.98 kB / 433.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1309, allocations: 0 / 433.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1309, allocations: 7.984 kB / 433.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.131, allocations: 0 / 433.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.131, allocations: 0 / 433.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.1313, allocations: 257 kB / 434.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1314, allocations: 89.05 kB / 434.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1314, allocations: 7.984 kB / 434.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.1315, allocations: 4 kB / 434.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1315, allocations: 7.984 kB / 434.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.1315, allocations: 4 kB / 434.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.739e-05/0.1316, allocations: 99.27 kB / 434.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1316, allocations: 0 / 434.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1319, allocations: 28 kB / 434.3 MB, free: 12.17 MB / 366.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.0006496/0.1325, allocations: 0.7924 MB / 435.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1327, allocations: 83.91 kB / 435.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1327, allocations: 0 / 435.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.1328, allocations: 39.92 kB / 435.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1331, allocations: 11.98 kB / 435.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.1353, allocations: 1.885 MB / 437.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1357, allocations: 0.7119 MB / 437.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.1358, allocations: 16.88 kB / 437.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1358, allocations: 39.42 kB / 437.9 MB, free: 8.398 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1358, allocations: 3.938 kB / 437.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.1621, allocations: 2.425 MB / 440.3 MB, free: 6.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.083, allocations: 12.53 kB / 440.3 MB, free: 6.051 MB / 366.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.821546745020896]