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.001529/0.001529, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001828/0.001828, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001589/0.001589, allocations: 55.91 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2456, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00356/0.2491, allocations: 1.928 MB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2501, allocations: 0.5454 MB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9e-05/0.2502, allocations: 8 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2504, allocations: 23.78 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.2504, allocations: 31.59 kB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.2507, allocations: 55.88 kB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.2509, allocations: 151.4 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2511, allocations: 49.7 kB / 433.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.2512, allocations: 71.78 kB / 433.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2513, allocations: 59.69 kB / 434 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2514, allocations: 16 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.2514, allocations: 23.94 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.2514, allocations: 27.92 kB / 434.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.2515, allocations: 59.72 kB / 434.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.2518, allocations: 173 kB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2518, allocations: 3.938 kB / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2518, allocations: 0 / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2518, allocations: 0 / 434.3 MB, free: 3.414 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.0006432/0.2525, allocations: 372.5 kB / 434.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2525, allocations: 12.03 kB / 434.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.2526, allocations: 50.73 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2527, allocations: 28.84 kB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.253, allocations: 146.3 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2531, allocations: 12.38 kB / 434.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.2531, allocations: 20.36 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.2534, allocations: 150.4 kB / 435.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2534, allocations: 7.953 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2534, allocations: 4 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2534, allocations: 8 kB / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2537, allocations: 87.94 kB / 435.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.2544, allocations: 447.3 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.2546, allocations: 70.56 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.2547, allocations: 28.84 kB / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2547, allocations: 0 / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2547, allocations: 46.67 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.2547, allocations: 0 / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009809/0.2557, allocations: 450.9 kB / 436.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.2558, allocations: 59.34 kB / 436.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.2559, allocations: 134.1 kB / 436.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.2559, allocations: 29.7 kB / 436.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.256, allocations: 140.1 kB / 436.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.2561, allocations: 39.69 kB / 436.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.2561, allocations: 37.7 kB / 436.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2563, allocations: 318.8 kB / 436.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.2564, allocations: 35.92 kB / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.2565, allocations: 86.8 kB / 437 MB, free: 400 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.2567, allocations: 130.7 kB / 437.2 MB, free: 244 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2567, allocations: 0 / 437.2 MB, free: 244 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000277/0.257, allocations: 158.2 kB / 437.3 MB, free: 80 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.257, allocations: 4 kB / 437.3 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.257, allocations: 4 kB / 437.3 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.257, allocations: 0 / 437.3 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2572, allocations: 44.03 kB / 437.4 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2572, allocations: 8 kB / 437.4 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.2572, allocations: 8.047 kB / 437.4 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.2573, allocations: 12.08 kB / 437.4 MB, free: 0 / 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.0001206/0.2574, allocations: 121.9 kB / 437.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.2574, allocations: 15.89 kB / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.2574, allocations: 16.7 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.2574, allocations: 3.938 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.2575, allocations: 4 kB / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2575, allocations: 0 / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.258, allocations: 411 kB / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.258, allocations: 0 / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2581, allocations: 27.98 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2581, allocations: 0 / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2582, allocations: 4 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2582, allocations: 0 / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2582, allocations: 0 / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.2585, allocations: 261.1 kB / 438.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.2586, allocations: 12.05 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2586, allocations: 4 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.2587, allocations: 4 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.2587, allocations: 7.984 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2587, allocations: 4 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.918e-05/0.2588, allocations: 103.2 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2588, allocations: 0 / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.2591, allocations: 27.94 kB / 438.4 MB, free: 14.91 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.0006573/0.2597, allocations: 0.7882 MB / 439.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.2599, allocations: 83.83 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2599, allocations: 0 / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.26, allocations: 40.2 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.2603, allocations: 19.77 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.2625, allocations: 1.887 MB / 441.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2626, allocations: 105.5 kB / 441.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.2627, allocations: 4.984 kB / 441.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.2628, allocations: 43.42 kB / 441.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2628, allocations: 0 / 441.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.2921, allocations: 2.918 MB / 444.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.62, allocations: 11.25 kB / 444.3 MB, free: 8.961 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.111612753011286]