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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 64.23 kB / 307.1 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003729/0.1113, allocations: 1.99 MB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1125, allocations: 0.5727 MB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.1129, allocations: 4 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.113, allocations: 23.78 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.1132, allocations: 27.66 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.1135, allocations: 59.86 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1138, allocations: 147.5 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.114, allocations: 74.58 kB / 360.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.1142, allocations: 63.8 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1143, allocations: 75.62 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.1144, allocations: 12 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.1144, allocations: 24 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.1145, allocations: 35.84 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.1146, allocations: 67.67 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1148, allocations: 167.7 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1148, allocations: 0 / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1148, allocations: 0 / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1149, allocations: 3.984 kB / 360.9 MB, free: 10.64 MB / 302.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.0008314/0.1157, allocations: 443.1 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1157, allocations: 11.97 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.1158, allocations: 50.73 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.116, allocations: 24.73 kB / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1162, allocations: 208.1 kB / 361.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1162, allocations: 8.375 kB / 361.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.1163, allocations: 16.38 kB / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.1166, allocations: 145.5 kB / 361.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1166, allocations: 4 kB / 361.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.1167, allocations: 12 kB / 361.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1167, allocations: 7.938 kB / 361.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.1169, allocations: 83.95 kB / 361.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.1177, allocations: 0.5443 MB / 362.5 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1178, allocations: 70.56 kB / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.1179, allocations: 28.84 kB / 362.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1179, allocations: 4 kB / 362.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.118, allocations: 34.56 kB / 362.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.118, allocations: 0 / 362.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.00109/0.1191, allocations: 0.5914 MB / 363.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1191, allocations: 59.34 kB / 363.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1192, allocations: 134.1 kB / 363.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1193, allocations: 29.98 kB / 363.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.1194, allocations: 132 kB / 363.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.1194, allocations: 35.45 kB / 363.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.1195, allocations: 45.55 kB / 363.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1196, allocations: 314.8 kB / 363.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.1197, allocations: 35.97 kB / 363.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1198, allocations: 93.14 kB / 364 MB, free: 7.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1201, allocations: 130.7 kB / 364.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1201, allocations: 0 / 364.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002878/0.1204, allocations: 153.4 kB / 364.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1204, allocations: 8 kB / 364.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1204, allocations: 4.188 kB / 364.3 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1204, allocations: 4.047 kB / 364.3 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1206, allocations: 43.89 kB / 364.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/0.1207, allocations: 11.92 kB / 364.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1208, allocations: 8 kB / 364.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1208, allocations: 4 kB / 364.4 MB, free: 6.773 MB / 302.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.0001031/0.1209, allocations: 129.7 kB / 364.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.121, allocations: 7.906 kB / 364.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.121, allocations: 24.7 kB / 364.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.121, allocations: 3.938 kB / 364.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1211, allocations: 0 / 364.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1211, allocations: 3.938 kB / 364.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.1216, allocations: 444 kB / 365 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1216, allocations: 4.094 kB / 365 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.1218, allocations: 31.98 kB / 365 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1218, allocations: 0 / 365 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1218, allocations: 4 kB / 365 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1218, allocations: 4 kB / 365 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1218, allocations: 0 / 365 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1221, allocations: 256.9 kB / 365.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.1222, allocations: 85.05 kB / 365.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1222, allocations: 0 / 365.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.1223, allocations: 8 kB / 365.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1223, allocations: 7.984 kB / 365.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1223, allocations: 0 / 365.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.671e-05/0.1224, allocations: 105.8 kB / 365.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1224, allocations: 0 / 365.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1227, allocations: 24 kB / 365.5 MB, free: 5.543 MB / 302.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.0006587/0.1234, allocations: 0.7881 MB / 366.3 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1236, allocations: 100.2 kB / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1236, allocations: 0 / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.1237, allocations: 39.92 kB / 366.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1241, allocations: 22.91 kB / 366.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1261, allocations: 1.855 MB / 368.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1264, allocations: 0.7158 MB / 369 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.825e-05/0.1265, allocations: 12.88 kB / 369 MB, free: 1.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.1266, allocations: 39.36 kB / 369.1 MB, free: 1.773 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1266, allocations: 0 / 369.1 MB, free: 1.773 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2059/0.3325, allocations: 2.33 MB / 371.4 MB, free: 19.76 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.408, allocations: 4.906 kB / 371.4 MB, free: 19.76 MB / 302.1 MB (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches