Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8734/0.8734, allocations: 173.3 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.21e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002985/0.003007, allocations: 1.9 MB / 320.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.003749, allocations: 494.6 kB / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.003832, allocations: 0 / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.003941, allocations: 35.66 kB / 320.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.004008, allocations: 35.64 kB / 320.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.004195, allocations: 39.94 kB / 320.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.00435, allocations: 151.4 kB / 321.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.004492, allocations: 49.77 kB / 321.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.004613, allocations: 95.72 kB / 321.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.004697, allocations: 51.88 kB / 321.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.004727, allocations: 15.98 kB / 321.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.004743, allocations: 16 kB / 321.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.00477, allocations: 31.86 kB / 321.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.004811, allocations: 51.89 kB / 321.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004973, allocations: 179.3 kB / 321.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004976, allocations: 0 / 321.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.004977, allocations: 0 / 321.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.004981, allocations: 0 / 321.5 MB, free: 3.227 MB / 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.0004182/0.005399, allocations: 361 kB / 321.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.005441, allocations: 12.92 kB / 321.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.005478, allocations: 50.73 kB / 321.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.00551, allocations: 20.84 kB / 322 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.005689, allocations: 145.5 kB / 322.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.005702, allocations: 12.31 kB / 322.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.005731, allocations: 24.36 kB / 322.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.005925, allocations: 138.6 kB / 322.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.005936, allocations: 192 / 322.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.005949, allocations: 12.12 kB / 322.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.005955, allocations: 7.984 kB / 322.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.006079, allocations: 84.58 kB / 322.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.006571, allocations: 447.3 kB / 322.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.006704, allocations: 70.55 kB / 322.9 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.00676, allocations: 32.97 kB / 322.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.006778, allocations: 4 kB / 322.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.0068, allocations: 34.56 kB / 323 MB, free: 1.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.006801, allocations: 0 / 323 MB, free: 1.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006408/0.007442, allocations: 458.7 kB / 323.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.007472, allocations: 51.41 kB / 323.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.007554, allocations: 133.7 kB / 323.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.007566, allocations: 29.7 kB / 323.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.007622, allocations: 140.2 kB / 323.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.007644, allocations: 43.62 kB / 323.8 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.007684, allocations: 37.66 kB / 323.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.007759, allocations: 326.8 kB / 324.2 MB, free: 384 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.007804, allocations: 31.92 kB / 324.2 MB, free: 352 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.007869, allocations: 86.84 kB / 324.3 MB, free: 240 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.007985, allocations: 126.7 kB / 324.4 MB, free: 88 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.007986, allocations: 1.031 kB / 324.4 MB, free: 88 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000164/0.00815, allocations: 157.4 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.008162, allocations: 4 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.008168, allocations: 4 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.008182, allocations: 3.984 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.008279, allocations: 40.2 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.008286, allocations: 7.938 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.008327, allocations: 7.938 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.008336, allocations: 12 kB / 324.6 MB, free: 15.85 MB / 298.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 7.067e-05/0.008407, allocations: 121.8 kB / 324.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.008424, allocations: 7.953 kB / 324.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.008449, allocations: 20.42 kB / 324.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.00845, allocations: 0 / 324.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.008455, allocations: 0 / 324.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.008459, allocations: 4 kB / 324.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.008809, allocations: 411 kB / 325.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.00881, allocations: 0 / 325.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.214e-05/0.008882, allocations: 24.03 kB / 325.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.008886, allocations: 7.922 kB / 325.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.008895, allocations: 8 kB / 325.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008897, allocations: 0 / 325.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.008898, allocations: 4 kB / 325.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.009135, allocations: 261.2 kB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.009144, allocations: 3.953 kB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.009157, allocations: 7.938 kB / 325.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.009197, allocations: 4 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.009225, allocations: 7.984 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.009232, allocations: 7.984 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.15e-05/0.009274, allocations: 95.27 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009274, allocations: 0 / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.009465, allocations: 31.94 kB / 325.6 MB, free: 14.75 MB / 298.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.0003977/0.009863, allocations: 0.7805 MB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.01001, allocations: 83.84 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01001, allocations: 0 / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.01006, allocations: 44.14 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.01028, allocations: 16.06 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.01155, allocations: 1.79 MB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.889e-05/0.01162, allocations: 109.5 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.01166, allocations: 12.97 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.01171, allocations: 36.5 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01171, allocations: 0 / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.03129, allocations: 3.059 MB / 331.6 MB, free: 8.758 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.743, allocations: 0 / 331.6 MB, free: 8.758 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.449219431728125]