Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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 4.0.0+maint.om/package.mo", uses=false) 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.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",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.001499/0.0015, allocations: 112.8 kB / 16.63 MB, free: 6.812 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.001559/0.001559, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 43.02 kB / 300.2 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 49.45 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004053/0.1197, allocations: 1.655 MB / 351.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.1206, allocations: 0.4948 MB / 351.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1208, allocations: 0 / 351.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.068e-05/0.1209, allocations: 3.938 kB / 351.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.1211, allocations: 11.92 kB / 351.9 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1214, allocations: 51.89 kB / 351.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1215, allocations: 55.78 kB / 352 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1217, allocations: 16 kB / 352 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.1217, allocations: 35.8 kB / 352 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.1218, allocations: 23.84 kB / 352 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1219, allocations: 4 kB / 352 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.1219, allocations: 4 kB / 352 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.1219, allocations: 15.92 kB / 352.1 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.122, allocations: 27.81 kB / 352.1 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1221, allocations: 71.72 kB / 352.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1222, allocations: 0 / 352.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1222, allocations: 0 / 352.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1222, allocations: 0 / 352.2 MB, free: 2.164 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005804/0.1228, allocations: 379.3 kB / 352.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.226e-05/0.1228, allocations: 12.03 kB / 352.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1229, allocations: 38.73 kB / 352.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1229, allocations: 8.844 kB / 352.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1232, allocations: 211.3 kB / 352.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1232, allocations: 4.375 kB / 352.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1233, allocations: 15.92 kB / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.1236, allocations: 126.7 kB / 352.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1236, allocations: 7.875 kB / 352.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1237, allocations: 8 kB / 352.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1237, allocations: 0 / 352.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.523e-05/0.1238, allocations: 27.92 kB / 353 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.1242, allocations: 283.4 kB / 353.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1244, allocations: 98.42 kB / 353.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.1245, allocations: 43.48 kB / 353.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.1245, allocations: 11.94 kB / 353.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1246, allocations: 34.55 kB / 353.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1246, allocations: 0 / 353.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003311/0.1249, allocations: 97.89 kB / 353.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.125, allocations: 140.6 kB / 353.7 MB, free: 388 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1251, allocations: 145.8 kB / 353.8 MB, free: 232 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1252, allocations: 29.7 kB / 353.8 MB, free: 196 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.1252, allocations: 84.14 kB / 353.9 MB, free: 108 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1253, allocations: 11.89 kB / 353.9 MB, free: 96 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1253, allocations: 17.72 kB / 353.9 MB, free: 72 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1254, allocations: 326.8 kB / 354.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.1255, allocations: 8 kB / 354.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.1256, allocations: 48.22 kB / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1257, allocations: 60.22 kB / 354.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1257, allocations: 0 / 354.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001673/0.1259, allocations: 81.52 kB / 354.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1259, allocations: 4 kB / 354.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1259, allocations: 4 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1259, allocations: 4.156 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.126, allocations: 19.92 kB / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.1261, allocations: 7.875 kB / 354.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.1261, allocations: 4 kB / 354.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1261, allocations: 0 / 354.5 MB, free: 15.47 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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 8.828e-05/0.1262, allocations: 129.8 kB / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/0.1263, allocations: 57.53 kB / 354.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.1264, allocations: 11.88 kB / 354.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1264, allocations: 8.062 kB / 354.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1264, allocations: 3.938 kB / 354.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1264, allocations: 0 / 354.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.1266, allocations: 173.6 kB / 354.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1266, allocations: 4.125 kB / 354.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.1267, allocations: 19.98 kB / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1267, allocations: 4 kB / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1267, allocations: 0 / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1267, allocations: 0 / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.1268, allocations: 15.81 kB / 354.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.127, allocations: 190 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.1271, allocations: 93 kB / 355.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1271, allocations: 4 kB / 355.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.1272, allocations: 7.984 kB / 355.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1272, allocations: 7.938 kB / 355.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1273, allocations: 4 kB / 355.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.448e-05/0.1273, allocations: 112.8 kB / 355.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1273, allocations: 0 / 355.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1276, allocations: 12 kB / 355.3 MB, free: 14.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (6): * Single equations (assignments): 6 * 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.0004953/0.1281, allocations: 0.7303 MB / 356.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.1283, allocations: 51.78 kB / 356.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1283, allocations: 320 / 356.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.1283, allocations: 12 kB / 356.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.1288, allocations: 28.02 kB / 356.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1303, allocations: 1.49 MB / 357.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1306, allocations: 0.6963 MB / 358.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.22e-05/0.1307, allocations: 7.984 kB / 358.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.1307, allocations: 27.36 kB / 358.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1307, allocations: 4 kB / 358.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.1434, allocations: 1.722 MB / 360.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.1436, allocations: 211.9 kB / 360.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.212, allocations: 4.062 kB / 360.3 MB, free: 9.43 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches