Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 102.7 kB / 16.02 MB, free: 6.348 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.001007/0.001007, allocations: 199.2 kB / 16.95 MB, free: 6.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.1 MB / 222.8 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09379/0.09379, allocations: 12.59 MB / 282.7 MB, free: 8.801 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003034/0.003035, allocations: 80.59 kB / 343 MB, free: 21.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1492, allocations: 49.39 MB / 392.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004102/0.1534, allocations: 1.91 MB / 394.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1547, allocations: 0.6594 MB / 394.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1549, allocations: 4 kB / 394.9 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1551, allocations: 19.8 kB / 395 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1553, allocations: 11.92 kB / 395 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1557, allocations: 91.78 kB / 395.1 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.1559, allocations: 143.6 kB / 395.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.1562, allocations: 57.72 kB / 395.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1563, allocations: 55.7 kB / 395.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1564, allocations: 51.72 kB / 395.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1564, allocations: 8 kB / 395.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.872e-05/0.1565, allocations: 16 kB / 395.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1566, allocations: 31.84 kB / 395.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.1566, allocations: 63.59 kB / 395.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1569, allocations: 135.7 kB / 395.6 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1569, allocations: 0 / 395.6 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1569, allocations: 0 / 395.6 MB, free: 336 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1569, allocations: 0 / 395.6 MB, free: 336 kB / 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.0007829/0.1577, allocations: 450.9 kB / 396.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1577, allocations: 8.031 kB / 396.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.1578, allocations: 20.75 kB / 396.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1581, allocations: 236.9 kB / 396.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.1582, allocations: 20 kB / 396.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.1582, allocations: 4 kB / 396.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/0.1589, allocations: 296 kB / 396.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1589, allocations: 3.984 kB / 396.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1589, allocations: 4 kB / 396.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.159, allocations: 4 kB / 396.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.1592, allocations: 75.88 kB / 396.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.1597, allocations: 423.4 kB / 397.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.1601, allocations: 298.1 kB / 397.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1603, allocations: 116.3 kB / 397.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1604, allocations: 0 / 397.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1604, allocations: 46.48 kB / 397.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.1604, allocations: 4 kB / 397.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005458/0.161, allocations: 213.2 kB / 397.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.1611, allocations: 199.8 kB / 398 MB, free: 13.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1613, allocations: 191.2 kB / 398.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1614, allocations: 29.7 kB / 398.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1615, allocations: 104.4 kB / 398.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.1615, allocations: 19.83 kB / 398.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.1616, allocations: 33.7 kB / 398.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.1619, allocations: 322.8 kB / 398.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.1619, allocations: 27.94 kB / 398.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.1621, allocations: 139.4 kB / 398.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1624, allocations: 182.4 kB / 399 MB, free: 12.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1624, allocations: 4 kB / 399 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000321/0.1627, allocations: 173.5 kB / 399.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1628, allocations: 12.09 kB / 399.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1628, allocations: 4 kB / 399.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.1628, allocations: 4 kB / 399.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1629, allocations: 35.92 kB / 399.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.163, allocations: 4 kB / 399.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1631, allocations: 27.77 kB / 399.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1631, allocations: 8 kB / 399.3 MB, free: 12.2 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 (hold.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.0001457/0.1633, allocations: 137.7 kB / 399.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.1635, allocations: 145.4 kB / 399.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.1636, allocations: 25.41 kB / 399.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1636, allocations: 0 / 399.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.1636, allocations: 4 kB / 399.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1637, allocations: 7.922 kB / 399.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.164, allocations: 217.4 kB / 399.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.164, allocations: 3.938 kB / 399.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.1641, allocations: 39.91 kB / 399.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1641, allocations: 8.031 kB / 399.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1642, allocations: 4 kB / 399.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1642, allocations: 4 kB / 399.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1642, allocations: 0 / 399.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.1646, allocations: 364.9 kB / 400.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1647, allocations: 116.8 kB / 400.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1648, allocations: 0 / 400.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.1649, allocations: 12.23 kB / 400.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.165, allocations: 11.92 kB / 400.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.165, allocations: 4 kB / 400.4 MB, free: 11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1651, allocations: 137.1 kB / 400.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1651, allocations: 4 kB / 400.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1655, allocations: 27.91 kB / 400.5 MB, free: 10.84 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 (hold.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.000168/0.1656, allocations: 103.2 kB / 400.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.166, allocations: 124.5 kB / 400.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.166, allocations: 4.312 kB / 400.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.1661, allocations: 12 kB / 400.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.1669, allocations: 119.5 kB / 400.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.1676, allocations: 359.8 kB / 401.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.168, allocations: 0.7318 MB / 402 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.1681, allocations: 13.55 kB / 402 MB, free: 9.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.1681, allocations: 19.44 kB / 402 MB, free: 9.297 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1681, allocations: 0 / 402 MB, free: 9.297 MB / 302.1 MB Notification: Performance of Templates: time 0.00534/0.1735, allocations: 1.711 MB / 403.7 MB, free: 7.586 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches