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.001252/0.001252, allocations: 108.9 kB / 16.51 MB, free: 6.707 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.001243/0.001243, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.471/1.471, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 46.41 kB / 300.1 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 49.45 MB / 349.5 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004067/0.1276, allocations: 1.655 MB / 351.2 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1289, allocations: 0.4987 MB / 351.7 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.1291, allocations: 7.938 kB / 351.7 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.001e-05/0.1292, allocations: 0 / 351.7 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1294, allocations: 7.922 kB / 351.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1298, allocations: 51.84 kB / 351.7 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.13, allocations: 43.86 kB / 351.8 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1301, allocations: 23.92 kB / 351.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1303, allocations: 27.91 kB / 351.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1304, allocations: 19.86 kB / 351.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.1304, allocations: 4 kB / 351.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.168e-05/0.1305, allocations: 4 kB / 351.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.1305, allocations: 19.92 kB / 351.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.1306, allocations: 23.8 kB / 351.9 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1308, allocations: 59.75 kB / 352 MB, free: 2.086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.1308, allocations: 0 / 352 MB, free: 2.086 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1308, allocations: 0 / 352 MB, free: 2.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1309, allocations: 0 / 352 MB, free: 2.086 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.0009018/0.1318, allocations: 393.6 kB / 352.3 MB, free: 1.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/0.1318, allocations: 8.031 kB / 352.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.447e-05/0.1319, allocations: 38.75 kB / 352.4 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.132, allocations: 8.844 kB / 352.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1323, allocations: 204.7 kB / 352.6 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1323, allocations: 384 / 352.6 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1323, allocations: 11.94 kB / 352.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.1327, allocations: 134.6 kB / 352.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1328, allocations: 4 kB / 352.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1328, allocations: 4 kB / 352.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1328, allocations: 0 / 352.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1329, allocations: 27.92 kB / 352.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.1335, allocations: 287.4 kB / 353.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1337, allocations: 94.42 kB / 353.1 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.1338, allocations: 51.42 kB / 353.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1338, allocations: 4 kB / 353.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1339, allocations: 30.56 kB / 353.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1339, allocations: 0 / 353.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004265/0.1343, allocations: 105.8 kB / 353.3 MB, free: 480 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.1344, allocations: 136.5 kB / 353.5 MB, free: 312 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1347, allocations: 147.8 kB / 353.6 MB, free: 156 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1347, allocations: 25.7 kB / 353.6 MB, free: 124 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.1348, allocations: 88.14 kB / 353.7 MB, free: 32 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.1348, allocations: 11.89 kB / 353.7 MB, free: 20 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.135, allocations: 21.8 kB / 353.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.1352, allocations: 322.8 kB / 354.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.1352, allocations: 19.86 kB / 354.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.1353, allocations: 44.28 kB / 354.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1355, allocations: 60.22 kB / 354.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1355, allocations: 0 / 354.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001965/0.1357, allocations: 85.58 kB / 354.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1357, allocations: 4.156 kB / 354.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.1358, allocations: 15.98 kB / 354.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1358, allocations: 0 / 354.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1359, allocations: 15.98 kB / 354.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1359, allocations: 3.938 kB / 354.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.136, allocations: 4 kB / 354.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.136, allocations: 0 / 354.3 MB, free: 15.38 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 0.0001418/0.1362, allocations: 129.8 kB / 354.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.1363, allocations: 61.56 kB / 354.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1363, allocations: 15.86 kB / 354.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1363, allocations: 4 kB / 354.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1364, allocations: 3.938 kB / 354.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1364, allocations: 0 / 354.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.1366, allocations: 173.6 kB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.1366, allocations: 4 kB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.1367, allocations: 19.88 kB / 354.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1367, allocations: 4 kB / 354.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1367, allocations: 3.984 kB / 354.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1367, allocations: 0 / 354.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.1368, allocations: 11.97 kB / 354.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1371, allocations: 186 kB / 354.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.1372, allocations: 93 kB / 355 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1372, allocations: 4 kB / 355 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.1373, allocations: 8 kB / 355 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1373, allocations: 11.86 kB / 355 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1373, allocations: 4 kB / 355 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1375, allocations: 112.4 kB / 355.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1375, allocations: 0 / 355.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1378, allocations: 12 kB / 355.2 MB, free: 14.43 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.0007014/0.1385, allocations: 0.7303 MB / 355.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1387, allocations: 44.11 kB / 355.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1387, allocations: 8 kB / 355.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.1388, allocations: 11.98 kB / 356 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.1394, allocations: 28.14 kB / 356 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1412, allocations: 1.479 MB / 357.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1415, allocations: 0.6926 MB / 358.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.769e-05/0.1416, allocations: 11.98 kB / 358.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.1417, allocations: 19.44 kB / 358.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1417, allocations: 0 / 358.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.1699, allocations: 1.663 MB / 359.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003868/0.1704, allocations: 210.5 kB / 360.1 MB, free: 9.402 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.183, allocations: 0 / 360.1 MB, free: 9.402 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