Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 106.9 kB / 16.92 MB, free: 5.781 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.001188/0.001188, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.405/1.405, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.22 kB / 300.7 MB, free: 5.699 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 49.44 MB / 350.2 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00402/0.1275, allocations: 1.847 MB / 352 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1292, allocations: 0.6311 MB / 352.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.1295, allocations: 7.938 kB / 352.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.1298, allocations: 23.8 kB / 352.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.13, allocations: 19.8 kB / 352.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.1306, allocations: 111.7 kB / 352.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1309, allocations: 131.6 kB / 352.9 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.1311, allocations: 65.69 kB / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1313, allocations: 55.73 kB / 353.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1314, allocations: 51.7 kB / 353.1 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.1315, allocations: 8 kB / 353.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.097e-05/0.1315, allocations: 12 kB / 353.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.1316, allocations: 31.84 kB / 353.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.1317, allocations: 63.61 kB / 353.2 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.132, allocations: 135.5 kB / 353.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.132, allocations: 0 / 353.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.132, allocations: 0 / 353.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.132, allocations: 4 kB / 353.4 MB, free: 1.035 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007856/0.1328, allocations: 455.1 kB / 353.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1329, allocations: 8.031 kB / 353.8 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.544e-05/0.133, allocations: 42.73 kB / 353.8 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.1331, allocations: 20.69 kB / 353.9 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.1334, allocations: 237.8 kB / 354.1 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.1335, allocations: 11.94 kB / 354.1 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1335, allocations: 8 kB / 354.1 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/0.1342, allocations: 294.9 kB / 354.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1342, allocations: 0 / 354.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1342, allocations: 4 kB / 354.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1342, allocations: 4 kB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.1345, allocations: 71.88 kB / 354.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.1351, allocations: 435.1 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.1356, allocations: 294.1 kB / 355.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.1358, allocations: 108.3 kB / 355.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.1359, allocations: 8 kB / 355.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.1359, allocations: 38.5 kB / 355.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1359, allocations: 0 / 355.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006541/0.1366, allocations: 221.5 kB / 355.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.1368, allocations: 195.9 kB / 355.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.137, allocations: 175.1 kB / 355.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.137, allocations: 33.7 kB / 356 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.1371, allocations: 100.5 kB / 356.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.1372, allocations: 23.73 kB / 356.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.1373, allocations: 41.8 kB / 356.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1374, allocations: 326.8 kB / 356.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.1375, allocations: 23.92 kB / 356.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1377, allocations: 135.4 kB / 356.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1379, allocations: 170.4 kB / 356.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1379, allocations: 0 / 356.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003154/0.1383, allocations: 177.1 kB / 356.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1383, allocations: 8 kB / 356.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.1383, allocations: 4 kB / 356.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1383, allocations: 8.125 kB / 357 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1385, allocations: 36.5 kB / 357 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.1385, allocations: 19.88 kB / 357 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1386, allocations: 15.84 kB / 357 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1387, allocations: 15.98 kB / 357 MB, free: 12.87 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.0001381/0.1388, allocations: 141.6 kB / 357.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.1391, allocations: 137.4 kB / 357.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.1392, allocations: 25.39 kB / 357.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1392, allocations: 0 / 357.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1392, allocations: 11.97 kB / 357.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1392, allocations: 0 / 357.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.1395, allocations: 217.6 kB / 357.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1395, allocations: 4 kB / 357.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1397, allocations: 35.98 kB / 357.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1397, allocations: 3.938 kB / 357.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1397, allocations: 11.98 kB / 357.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1397, allocations: 0 / 357.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1397, allocations: 7.938 kB / 357.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.1401, allocations: 357.1 kB / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.1403, allocations: 104.8 kB / 358.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.1403, allocations: 8 kB / 358.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1405, allocations: 23.86 kB / 358.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.1405, allocations: 7.938 kB / 358.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1405, allocations: 7.984 kB / 358.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1406, allocations: 133.2 kB / 358.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1406, allocations: 0 / 358.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.141, allocations: 20 kB / 358.3 MB, free: 11.52 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.001005/0.142, allocations: 0.963 MB / 359.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.1424, allocations: 127.7 kB / 359.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1424, allocations: 4 kB / 359.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.1425, allocations: 9 kB / 359.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/0.1433, allocations: 122.8 kB / 359.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1448, allocations: 0.9094 MB / 360.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1451, allocations: 0.7319 MB / 361.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.883e-05/0.1452, allocations: 17.72 kB / 361.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.1453, allocations: 39.42 kB / 361.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1453, allocations: 0 / 361.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.1675, allocations: 3.376 MB / 364.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.345, allocations: 15.19 kB / 364.6 MB, free: 5.191 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches