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.001731/0.001731, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002099/0.002099, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.49/1.49, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001455/0.001455, allocations: 47.92 kB / 373 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 53.32 MB / 426.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003718/0.1101, allocations: 2.011 MB / 428.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1112, allocations: 0.5726 MB / 428.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1113, allocations: 7.938 kB / 428.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.1114, allocations: 23.78 kB / 428.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.1115, allocations: 35.64 kB / 428.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1118, allocations: 55.86 kB / 429 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.1121, allocations: 151.4 kB / 429.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1122, allocations: 45.53 kB / 429.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1124, allocations: 75.78 kB / 429.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1125, allocations: 67.69 kB / 429.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1126, allocations: 16 kB / 429.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.1126, allocations: 16 kB / 429.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.1127, allocations: 31.91 kB / 429.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.1127, allocations: 75.61 kB / 429.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.113, allocations: 171.2 kB / 429.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.113, allocations: 0 / 429.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.113, allocations: 4 kB / 429.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.113, allocations: 3.938 kB / 429.6 MB, free: 1.516 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.0007347/0.1138, allocations: 446.8 kB / 430.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1138, allocations: 8.031 kB / 430.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.871e-05/0.1139, allocations: 46.73 kB / 430.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.114, allocations: 32.83 kB / 430.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1143, allocations: 208.1 kB / 430.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1143, allocations: 8.375 kB / 430.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.1144, allocations: 16.38 kB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1147, allocations: 149.5 kB / 430.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1147, allocations: 3.953 kB / 430.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1147, allocations: 4 kB / 430.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1147, allocations: 7.938 kB / 430.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.1149, allocations: 91.94 kB / 430.6 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1956/0.3105, allocations: 0.5171 MB / 431.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.3108, allocations: 74.28 kB / 431.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.3108, allocations: 28.5 kB / 431.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3109, allocations: 4.766 kB / 431.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3109, allocations: 31.81 kB / 431.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3109, allocations: 1.625 kB / 431.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001067/0.312, allocations: 0.5977 MB / 431.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.312, allocations: 54.88 kB / 432 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3121, allocations: 135.8 kB / 432.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.3121, allocations: 30.73 kB / 432.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.3122, allocations: 137.9 kB / 432.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3122, allocations: 38.52 kB / 432.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3123, allocations: 39.5 kB / 432.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.3123, allocations: 322 kB / 432.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.3124, allocations: 32.33 kB / 432.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3125, allocations: 84.61 kB / 432.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.3127, allocations: 137.6 kB / 432.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3127, allocations: 0.75 kB / 432.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002592/0.313, allocations: 156.9 kB / 433 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.313, allocations: 5.781 kB / 433 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.313, allocations: 5.719 kB / 433.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.313, allocations: 6.5 kB / 433.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3132, allocations: 37.41 kB / 433.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3132, allocations: 4.469 kB / 433.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.3133, allocations: 8.438 kB / 433.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.3133, allocations: 5.938 kB / 433.1 MB, free: 9.613 MB / 350.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 7.72e-05/0.3133, allocations: 128.8 kB / 433.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.3134, allocations: 16.27 kB / 433.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.3134, allocations: 13.05 kB / 433.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.3134, allocations: 4.75 kB / 433.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3134, allocations: 0 / 433.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3134, allocations: 1.812 kB / 433.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.3139, allocations: 455.3 kB / 433.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3139, allocations: 0.6562 kB / 433.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.314, allocations: 26.91 kB / 433.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.314, allocations: 3.594 kB / 433.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3141, allocations: 3.688 kB / 433.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3141, allocations: 0 / 433.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3141, allocations: 0.9062 kB / 433.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3143, allocations: 258.8 kB / 434 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.3144, allocations: 93.88 kB / 434.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.3144, allocations: 0 / 434.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.3145, allocations: 9.562 kB / 434.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.3145, allocations: 10.03 kB / 434.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3145, allocations: 3.938 kB / 434.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.197e-05/0.3146, allocations: 100.7 kB / 434.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3146, allocations: 0 / 434.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000272/0.3148, allocations: 24.97 kB / 434.2 MB, free: 8.836 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.0004224/0.3153, allocations: 0.7832 MB / 435 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.3155, allocations: 95.66 kB / 435.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.39e-05/0.3155, allocations: 0 / 435.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.3156, allocations: 34.95 kB / 435.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3159, allocations: 15.44 kB / 435.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3176, allocations: 1.876 MB / 437 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.3177, allocations: 0.7125 MB / 437.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.414e-05/0.3178, allocations: 12.55 kB / 437.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.3179, allocations: 41.8 kB / 437.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3179, allocations: 0 / 437.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.3459, allocations: 2.422 MB / 440.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.253, allocations: 8.344 kB / 440.2 MB, free: 5.539 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.743569622005452]