Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 104.4 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.00179/0.00179, allocations: 214.4 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.539/1.539, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 62.31 kB / 307.1 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1291, allocations: 50.53 MB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004031/0.1332, allocations: 1.861 MB / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1347, allocations: 0.6974 MB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.135, allocations: 7.938 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1352, allocations: 23.73 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.1353, allocations: 23.8 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.1359, allocations: 103.7 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1361, allocations: 143.6 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.1363, allocations: 65.67 kB / 360.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.1365, allocations: 71.72 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.1366, allocations: 55.64 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1366, allocations: 8 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.027e-05/0.1367, allocations: 12 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.1368, allocations: 27.92 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.1369, allocations: 67.48 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.1371, allocations: 143.8 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1371, allocations: 0 / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1371, allocations: 0 / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1371, allocations: 0 / 360.9 MB, free: 10.65 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006847/0.1378, allocations: 462.7 kB / 361.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1379, allocations: 8.031 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.1379, allocations: 46.73 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.1381, allocations: 24.75 kB / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1385, allocations: 236 kB / 361.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1385, allocations: 11.94 kB / 361.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1385, allocations: 11.94 kB / 361.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.1392, allocations: 289.9 kB / 362 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1392, allocations: 4 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1392, allocations: 0 / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1392, allocations: 4 kB / 362 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.1394, allocations: 71.89 kB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.1399, allocations: 435.4 kB / 362.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.1404, allocations: 290.1 kB / 362.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.1407, allocations: 116.3 kB / 362.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.1407, allocations: 11.98 kB / 362.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1407, allocations: 34.5 kB / 362.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.1407, allocations: 0 / 362.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006115/0.1414, allocations: 229.8 kB / 363.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.1415, allocations: 195.9 kB / 363.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.1417, allocations: 186.2 kB / 363.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1418, allocations: 29.7 kB / 363.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.1419, allocations: 100.5 kB / 363.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.1419, allocations: 19.83 kB / 363.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.142, allocations: 37.78 kB / 363.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1422, allocations: 330.8 kB / 364 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.1422, allocations: 23.98 kB / 364 MB, free: 7.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.1424, allocations: 143.3 kB / 364.2 MB, free: 6.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.1427, allocations: 166.4 kB / 364.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.1427, allocations: 4 kB / 364.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003403/0.1431, allocations: 177.2 kB / 364.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1431, allocations: 4 kB / 364.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1431, allocations: 4 kB / 364.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.1432, allocations: 8 kB / 364.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1433, allocations: 36.45 kB / 364.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.1433, allocations: 11.92 kB / 364.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.1435, allocations: 23.91 kB / 364.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1435, allocations: 8 kB / 364.6 MB, free: 6.457 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * 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.0001724/0.1437, allocations: 145.6 kB / 364.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.144, allocations: 141.3 kB / 364.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.1441, allocations: 21.39 kB / 364.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1441, allocations: 4 kB / 364.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.1441, allocations: 7.969 kB / 364.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1441, allocations: 4 kB / 364.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.1444, allocations: 221.5 kB / 365.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1444, allocations: 0 / 365.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1446, allocations: 35.92 kB / 365.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.1446, allocations: 4 kB / 365.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1446, allocations: 4 kB / 365.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1446, allocations: 7.984 kB / 365.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1446, allocations: 3.938 kB / 365.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.1451, allocations: 361 kB / 365.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1452, allocations: 112.8 kB / 365.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1453, allocations: 4 kB / 365.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1455, allocations: 19.98 kB / 365.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1455, allocations: 3.938 kB / 365.7 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1455, allocations: 8 kB / 365.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1457, allocations: 132.4 kB / 365.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1457, allocations: 0 / 365.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.146, allocations: 24 kB / 365.8 MB, free: 5.109 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0009567/0.147, allocations: 0.9561 MB / 366.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.1474, allocations: 135.9 kB / 366.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1474, allocations: 0 / 366.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.505e-05/0.1474, allocations: 9.062 kB / 366.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.1481, allocations: 112.2 kB / 367 MB, free: 3.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.1497, allocations: 0.9392 MB / 368 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.15, allocations: 0.7319 MB / 368.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.1501, allocations: 9.562 kB / 368.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.1502, allocations: 47.41 kB / 368.8 MB, free: 2 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1502, allocations: 0 / 368.8 MB, free: 2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2308/0.3811, allocations: 3.397 MB / 372.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.716, allocations: 4.344 kB / 372.2 MB, free: 19.96 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches