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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 113.4 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 224.5 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 51.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1125, allocations: 46.63 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003658/0.1162, allocations: 1.968 MB / 376.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1173, allocations: 0.5461 MB / 377.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1174, allocations: 4 kB / 377.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1176, allocations: 15.8 kB / 377.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.633e-05/0.1177, allocations: 39.66 kB / 377.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1179, allocations: 39.94 kB / 377.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1182, allocations: 151.4 kB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.1184, allocations: 81.28 kB / 377.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1185, allocations: 59.8 kB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1186, allocations: 75.67 kB / 377.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.1187, allocations: 12 kB / 377.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.413e-05/0.1187, allocations: 16 kB / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.1188, allocations: 31.86 kB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.1189, allocations: 67.67 kB / 377.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1191, allocations: 163.3 kB / 377.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1191, allocations: 0 / 377.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1191, allocations: 0 / 377.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1191, allocations: 0 / 377.9 MB, free: 1.809 MB / 318.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.0007407/0.1199, allocations: 458.8 kB / 378.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1199, allocations: 8.031 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.996e-05/0.12, allocations: 50.67 kB / 378.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1201, allocations: 16.84 kB / 378.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1204, allocations: 208.1 kB / 378.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1204, allocations: 8.375 kB / 378.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.1205, allocations: 16.38 kB / 378.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.1208, allocations: 149.5 kB / 378.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1208, allocations: 7.891 kB / 378.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1209, allocations: 12 kB / 378.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1209, allocations: 4 kB / 378.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.1211, allocations: 87.94 kB / 378.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008445/0.122, allocations: 0.5213 MB / 379.4 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1221, allocations: 78.5 kB / 379.5 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.1222, allocations: 28.84 kB / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1222, allocations: 0 / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2253/0.3475, allocations: 31.56 kB / 379.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 4.969e-06/0.3476, allocations: 0.6562 kB / 379.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001524/0.3491, allocations: 0.5928 MB / 380.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3492, allocations: 55.03 kB / 380.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3493, allocations: 136.4 kB / 380.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3493, allocations: 28.28 kB / 380.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.3494, allocations: 135.1 kB / 380.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.3495, allocations: 46.11 kB / 380.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.3496, allocations: 32.62 kB / 380.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.3497, allocations: 320.5 kB / 380.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3498, allocations: 35.45 kB / 380.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3499, allocations: 88.84 kB / 381 MB, free: 11.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.3502, allocations: 136.4 kB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3503, allocations: 0.875 kB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003936/0.3507, allocations: 156.3 kB / 381.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.3507, allocations: 6.469 kB / 381.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3507, allocations: 2.422 kB / 381.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.3508, allocations: 5.531 kB / 381.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.351, allocations: 41.66 kB / 381.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.351, allocations: 3.75 kB / 381.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3512, allocations: 7.906 kB / 381.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.3512, allocations: 6.031 kB / 381.4 MB, free: 11.37 MB / 318.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.0001234/0.3513, allocations: 135.9 kB / 381.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.3514, allocations: 11.58 kB / 381.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.3514, allocations: 15.98 kB / 381.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3515, allocations: 2.25 kB / 381.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3515, allocations: 0 / 381.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3515, allocations: 0.6094 kB / 381.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.3522, allocations: 443.5 kB / 382 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3522, allocations: 1.375 kB / 382 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.3525, allocations: 23.8 kB / 382 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3525, allocations: 4.125 kB / 382 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.3525, allocations: 6.984 kB / 382 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3525, allocations: 1.375 kB / 382 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.3526, allocations: 7.719 kB / 382 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.353, allocations: 249.1 kB / 382.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.3531, allocations: 86.81 kB / 382.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3531, allocations: 1.984 kB / 382.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3532, allocations: 10.83 kB / 382.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.3533, allocations: 11.55 kB / 382.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3533, allocations: 2.844 kB / 382.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.39e-05/0.3534, allocations: 99.91 kB / 382.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3534, allocations: 0 / 382.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.3539, allocations: 26.94 kB / 382.5 MB, free: 10.58 MB / 318.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.0006857/0.3546, allocations: 0.7812 MB / 383.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.355, allocations: 93.7 kB / 383.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.355, allocations: 1.422 kB / 383.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3551, allocations: 41.3 kB / 383.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.3556, allocations: 14.77 kB / 383.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.3584, allocations: 1.867 MB / 385.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.3586, allocations: 0.7104 MB / 386 MB, free: 7.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.435e-05/0.3587, allocations: 15.81 kB / 386 MB, free: 7.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.3589, allocations: 39.41 kB / 386 MB, free: 7.695 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3589, allocations: 1.219 kB / 386.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.3879, allocations: 2.377 MB / 388.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.527, allocations: 12.81 kB / 388.4 MB, free: 7.113 MB / 318.1 MB (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches