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.001089/0.001089, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003273/0.003273, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8731/0.8731, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/3.021e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003597/0.003627, allocations: 1.901 MB / 300.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.004384, allocations: 0.5191 MB / 300.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.898e-05/0.004483, allocations: 11.94 kB / 300.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.004597, allocations: 19.78 kB / 300.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.457e-05/0.004672, allocations: 35.64 kB / 300.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.004924, allocations: 43.94 kB / 301 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.005162, allocations: 143.3 kB / 301.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.005393, allocations: 53.77 kB / 301.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.005591, allocations: 91.84 kB / 301.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.005672, allocations: 47.81 kB / 301.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.005701, allocations: 20 kB / 301.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.005715, allocations: 12 kB / 301.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.005741, allocations: 27.91 kB / 301.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.005785, allocations: 59.83 kB / 301.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.005965, allocations: 171.4 kB / 301.6 MB, free: 364 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.00597, allocations: 0 / 301.6 MB, free: 364 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005971, allocations: 0 / 301.6 MB, free: 364 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.005976, allocations: 0 / 301.6 MB, free: 364 kB / 282.7 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.13/0.136, allocations: 362.6 kB / 301.9 MB, free: 16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.136, allocations: 16.77 kB / 301.9 MB, free: 16 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.1361, allocations: 50.23 kB / 302 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.1361, allocations: 19.3 kB / 302 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1363, allocations: 143.5 kB / 302.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1364, allocations: 14.62 kB / 302.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1364, allocations: 17.59 kB / 302.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.1366, allocations: 141.6 kB / 302.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1366, allocations: 1.344 kB / 302.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1366, allocations: 8.281 kB / 302.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1367, allocations: 9.094 kB / 302.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.1368, allocations: 89.45 kB / 302.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.1373, allocations: 452.5 kB / 302.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1374, allocations: 71.2 kB / 302.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.1375, allocations: 29.7 kB / 303 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.1375, allocations: 2.781 kB / 303 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.1375, allocations: 33.44 kB / 303 MB, free: 15.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1375, allocations: 0 / 303 MB, free: 15.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006652/0.1382, allocations: 462.1 kB / 303.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1382, allocations: 56.11 kB / 303.5 MB, free: 14.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.1383, allocations: 131.6 kB / 303.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.1383, allocations: 29.7 kB / 303.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.1384, allocations: 142 kB / 303.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1384, allocations: 35.41 kB / 303.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1384, allocations: 44.14 kB / 303.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.546e-05/0.1385, allocations: 324.8 kB / 304.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/0.1385, allocations: 30.06 kB / 304.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1386, allocations: 84.34 kB / 304.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1387, allocations: 133.5 kB / 304.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1387, allocations: 1.062 kB / 304.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001657/0.1389, allocations: 155 kB / 304.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1389, allocations: 6.594 kB / 304.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1389, allocations: 2.094 kB / 304.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1389, allocations: 7.375 kB / 304.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.139, allocations: 35.73 kB / 304.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.139, allocations: 3.109 kB / 304.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.1391, allocations: 9.328 kB / 304.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1391, allocations: 6.312 kB / 304.7 MB, free: 14.05 MB / 282.7 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 5.986e-05/0.1391, allocations: 130.2 kB / 304.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.1392, allocations: 8.297 kB / 304.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.1392, allocations: 16.23 kB / 304.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1392, allocations: 5.484 kB / 304.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1392, allocations: 3.469 kB / 304.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1392, allocations: 2.047 kB / 304.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.1395, allocations: 407.5 kB / 305.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1395, allocations: 1.25 kB / 305.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.1396, allocations: 27.12 kB / 305.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1396, allocations: 2.922 kB / 305.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1396, allocations: 9.125 kB / 305.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1396, allocations: 5.234 kB / 305.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1396, allocations: 1.188 kB / 305.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.1398, allocations: 245.8 kB / 305.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.1398, allocations: 9.875 kB / 305.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1398, allocations: 9.625 kB / 305.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.1399, allocations: 7.625 kB / 305.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.1399, allocations: 14.83 kB / 305.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1399, allocations: 3.406 kB / 305.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.11e-05/0.1399, allocations: 105.3 kB / 305.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1399, allocations: 0 / 305.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.1401, allocations: 23.19 kB / 305.7 MB, free: 13.27 MB / 282.7 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.0002987/0.1404, allocations: 0.7838 MB / 306.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1406, allocations: 85.23 kB / 306.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1406, allocations: 448 / 306.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.1406, allocations: 43.44 kB / 306.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1409, allocations: 11.86 kB / 306.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.142, allocations: 1.788 MB / 308.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.389e-05/0.1421, allocations: 102.5 kB / 308.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.205e-05/0.1421, allocations: 8.578 kB / 308.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1422, allocations: 43.27 kB / 308.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1422, allocations: 4 kB / 308.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.1588, allocations: 3.048 MB / 311.6 MB, free: 9.68 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.977, allocations: 5.062 kB / 311.6 MB, free: 9.676 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/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: 8.633295918814838]