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.001354/0.001354, allocations: 108.3 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.001387/0.001387, 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.53/1.53, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 46.41 kB / 300.1 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1211, allocations: 49.44 MB / 349.5 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004692/0.1259, allocations: 1.923 MB / 351.4 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1276, allocations: 0.6079 MB / 352 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.1279, allocations: 11.94 kB / 352 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1282, allocations: 19.86 kB / 352.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.1284, allocations: 19.84 kB / 352.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.129, allocations: 86.11 kB / 352.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.1292, allocations: 135.6 kB / 352.3 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1294, allocations: 49.72 kB / 352.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1295, allocations: 51.72 kB / 352.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1296, allocations: 51.7 kB / 352.5 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.1297, allocations: 4 kB / 352.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.273e-05/0.1297, allocations: 11.94 kB / 352.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.1298, allocations: 27.86 kB / 352.5 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.1299, allocations: 55.61 kB / 352.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1301, allocations: 135.5 kB / 352.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1301, allocations: 0 / 352.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1301, allocations: 0 / 352.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1301, allocations: 0 / 352.7 MB, free: 1.324 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.0007188/0.1308, allocations: 451.1 kB / 353.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1309, allocations: 12.03 kB / 353.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.699e-05/0.131, allocations: 42.75 kB / 353.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.131, allocations: 16.75 kB / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1314, allocations: 245.7 kB / 353.4 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1314, allocations: 7.938 kB / 353.4 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1314, allocations: 8 kB / 353.4 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.1321, allocations: 283.9 kB / 353.7 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1321, allocations: 3.938 kB / 353.7 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1322, allocations: 4 kB / 353.7 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1322, allocations: 3.938 kB / 353.7 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.1324, allocations: 71.89 kB / 353.8 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.133, allocations: 431.4 kB / 354.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.1335, allocations: 290.2 kB / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.1337, allocations: 116.2 kB / 354.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1337, allocations: 7.984 kB / 354.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.1338, allocations: 38.55 kB / 354.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.1338, allocations: 3.938 kB / 354.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006183/0.1344, allocations: 213.3 kB / 354.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.1346, allocations: 203.8 kB / 355.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1348, allocations: 179.5 kB / 355.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.1348, allocations: 33.7 kB / 355.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.1349, allocations: 96.52 kB / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.135, allocations: 23.73 kB / 355.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.135, allocations: 37.7 kB / 355.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1352, allocations: 322.8 kB / 355.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.1353, allocations: 27.98 kB / 355.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1354, allocations: 146.3 kB / 355.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1357, allocations: 166.4 kB / 356.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.1357, allocations: 11.94 kB / 356.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000321/0.136, allocations: 177.6 kB / 356.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.136, allocations: 8 kB / 356.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1361, allocations: 4.031 kB / 356.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1361, allocations: 8 kB / 356.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1363, allocations: 39.92 kB / 356.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.1363, allocations: 7.938 kB / 356.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1364, allocations: 15.89 kB / 356.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1364, allocations: 12 kB / 356.4 MB, free: 13.16 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.0001395/0.1366, allocations: 137.7 kB / 356.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.1369, allocations: 149.6 kB / 356.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.1369, allocations: 17.41 kB / 356.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.137, allocations: 4 kB / 356.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.137, allocations: 7.875 kB / 356.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.137, allocations: 7.984 kB / 356.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.1373, allocations: 213.6 kB / 356.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1373, allocations: 3.938 kB / 356.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.1375, allocations: 35.97 kB / 356.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1375, allocations: 7.938 kB / 356.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1375, allocations: 4.031 kB / 356.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1375, allocations: 4 kB / 357 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1375, allocations: 3.938 kB / 357 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.138, allocations: 361 kB / 357.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.1381, allocations: 112.8 kB / 357.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1381, allocations: 8 kB / 357.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1383, allocations: 8 kB / 357.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.1383, allocations: 7.922 kB / 357.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1383, allocations: 12 kB / 357.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1384, allocations: 133.2 kB / 357.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1385, allocations: 0 / 357.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1388, allocations: 24 kB / 357.6 MB, free: 11.81 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.0008546/0.1397, allocations: 0.9625 MB / 358.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.14, allocations: 116.8 kB / 358.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.14, allocations: 4.062 kB / 358.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.1401, allocations: 15.94 kB / 358.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.1408, allocations: 104.7 kB / 358.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1424, allocations: 0.9651 MB / 359.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1427, allocations: 0.7241 MB / 360.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.1428, allocations: 13.55 kB / 360.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.1428, allocations: 43.36 kB / 360.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1428, allocations: 8 kB / 360.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.1566, allocations: 3.144 MB / 363.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.1569, allocations: 233.3 kB / 363.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.171, allocations: 7.812 kB / 363.9 MB, free: 5.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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