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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001317, allocations: 110.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.06 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1514, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003574/0.1551, allocations: 1.92 MB / 358.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1564, allocations: 0.6893 MB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1565, allocations: 7.938 kB / 359.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.1567, allocations: 11.86 kB / 359.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1569, allocations: 19.88 kB / 359.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1573, allocations: 95.83 kB / 359.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1575, allocations: 143.5 kB / 359.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1577, allocations: 65.69 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1578, allocations: 59.73 kB / 360 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.1579, allocations: 59.62 kB / 360 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.158, allocations: 12 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.073e-05/0.158, allocations: 12 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.1581, allocations: 27.92 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.1582, allocations: 63.55 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1584, allocations: 143.5 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1584, allocations: 4 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1584, allocations: 0 / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1584, allocations: 0 / 360.3 MB, free: 11.07 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.0006468/0.1591, allocations: 455.1 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1591, allocations: 8.031 kB / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.1593, allocations: 28.73 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1596, allocations: 240 kB / 361 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1596, allocations: 16.12 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1597, allocations: 8 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.1603, allocations: 286.6 kB / 361.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1603, allocations: 0 / 361.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1603, allocations: 4 kB / 361.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1603, allocations: 4 kB / 361.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.1605, allocations: 75.88 kB / 361.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.161, allocations: 439.2 kB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.1615, allocations: 290.1 kB / 362.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1617, allocations: 116.3 kB / 362.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1617, allocations: 7.984 kB / 362.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1618, allocations: 38.5 kB / 362.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.1618, allocations: 0 / 362.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005459/0.1623, allocations: 229.1 kB / 362.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1624, allocations: 187.9 kB / 362.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1627, allocations: 190.2 kB / 362.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1627, allocations: 29.7 kB / 362.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.1627, allocations: 96.89 kB / 363 MB, free: 8.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1628, allocations: 23.83 kB / 363 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.1628, allocations: 37.7 kB / 363 MB, free: 7.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.1629, allocations: 322.8 kB / 363.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.163, allocations: 31.92 kB / 363.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1632, allocations: 135.4 kB / 363.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1634, allocations: 170.4 kB / 363.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.1634, allocations: 4 kB / 363.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002802/0.1637, allocations: 169.2 kB / 363.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1637, allocations: 7.984 kB / 363.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1637, allocations: 4.531 kB / 363.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1637, allocations: 8 kB / 363.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1639, allocations: 43.92 kB / 363.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1639, allocations: 11.92 kB / 363.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.164, allocations: 15.84 kB / 363.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.164, allocations: 15.98 kB / 364 MB, free: 6.93 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.0001156/0.1641, allocations: 137.7 kB / 364.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.1644, allocations: 145.8 kB / 364.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.1645, allocations: 25.42 kB / 364.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1645, allocations: 4 kB / 364.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1645, allocations: 0 / 364.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.1645, allocations: 12.17 kB / 364.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.1649, allocations: 225.4 kB / 364.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1649, allocations: 0 / 364.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.165, allocations: 39.95 kB / 364.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.165, allocations: 4 kB / 364.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1651, allocations: 3.938 kB / 364.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1651, allocations: 4 kB / 364.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1651, allocations: 4 kB / 364.6 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.1655, allocations: 357 kB / 364.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.1656, allocations: 120.8 kB / 365 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1656, allocations: 4 kB / 365 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1658, allocations: 8 kB / 365 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1658, allocations: 15.86 kB / 365 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1658, allocations: 8 kB / 365.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1659, allocations: 136.3 kB / 365.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1659, allocations: 0 / 365.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.1663, allocations: 24 kB / 365.2 MB, free: 5.57 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.0001206/0.1664, allocations: 103.2 kB / 365.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.1667, allocations: 127.6 kB / 365.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1668, allocations: 5.062 kB / 365.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.1668, allocations: 8 kB / 365.5 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006661/0.1675, allocations: 115.7 kB / 365.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.1681, allocations: 375.5 kB / 365.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1684, allocations: 0.7318 MB / 366.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.164e-05/0.1685, allocations: 13.55 kB / 366.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.1685, allocations: 19.44 kB / 366.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1686, allocations: 0 / 366.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of Templates: time 0.004868/0.1734, allocations: 1.708 MB / 368.4 MB, free: 2.34 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/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