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.001161/0.001161, allocations: 106.1 kB / 16.45 MB, free: 6.426 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.001272/0.001272, allocations: 190 kB / 17.39 MB, free: 5.668 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.645/1.645, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08472/0.08472, allocations: 12.59 MB / 283.2 MB, free: 15.4 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.00278/0.00278, allocations: 89.27 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1527, allocations: 49.41 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004606/0.1573, allocations: 1.847 MB / 445.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1591, allocations: 0.6672 MB / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.1594, allocations: 7.938 kB / 446.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1596, allocations: 23.73 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1599, allocations: 27.78 kB / 446.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.1604, allocations: 95.78 kB / 446.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1607, allocations: 143.5 kB / 446.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.1609, allocations: 65.41 kB / 446.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1611, allocations: 63.72 kB / 446.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1613, allocations: 55.69 kB / 446.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.1613, allocations: 8 kB / 446.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.641e-05/0.1613, allocations: 12 kB / 446.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.1614, allocations: 31.86 kB / 446.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.1615, allocations: 59.61 kB / 446.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1618, allocations: 139.4 kB / 446.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1618, allocations: 0 / 446.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1618, allocations: 0 / 446.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1618, allocations: 0 / 446.8 MB, free: 13.23 MB / 334.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.00114/0.163, allocations: 447 kB / 447.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/0.1631, allocations: 12.03 kB / 447.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1632, allocations: 28.64 kB / 447.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.1639, allocations: 240.9 kB / 447.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1639, allocations: 12.12 kB / 447.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.1639, allocations: 12 kB / 447.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.1647, allocations: 294.2 kB / 447.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1647, allocations: 4 kB / 447.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.1647, allocations: 4 kB / 447.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1648, allocations: 4 kB / 447.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.165, allocations: 71.83 kB / 447.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.1659, allocations: 427.4 kB / 448.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.1664, allocations: 298.2 kB / 448.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.1666, allocations: 104.2 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1667, allocations: 11.98 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1667, allocations: 46.55 kB / 448.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.1667, allocations: 0 / 448.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006409/0.1674, allocations: 221.8 kB / 449 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.1675, allocations: 203.9 kB / 449.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1677, allocations: 183.1 kB / 449.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1677, allocations: 29.7 kB / 449.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.1678, allocations: 104.5 kB / 449.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1678, allocations: 7.906 kB / 449.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.1679, allocations: 45.7 kB / 449.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.168, allocations: 322.8 kB / 449.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.1681, allocations: 27.98 kB / 449.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1683, allocations: 139.4 kB / 450 MB, free: 9.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.1685, allocations: 166.4 kB / 450.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.1685, allocations: 4 kB / 450.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003251/0.1689, allocations: 177.1 kB / 450.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1689, allocations: 8 kB / 450.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1689, allocations: 4 kB / 450.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1689, allocations: 4 kB / 450.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1691, allocations: 40.45 kB / 450.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.1691, allocations: 11.94 kB / 450.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1693, allocations: 19.86 kB / 450.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1693, allocations: 8 kB / 450.5 MB, free: 9.094 MB / 334.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.0001484/0.1694, allocations: 129.8 kB / 450.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.1698, allocations: 149.3 kB / 450.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.1698, allocations: 21.41 kB / 450.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1699, allocations: 4 kB / 450.8 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.1699, allocations: 8.031 kB / 450.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.1699, allocations: 7.922 kB / 450.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1703, allocations: 217.4 kB / 451 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1703, allocations: 3.938 kB / 451 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1704, allocations: 39.97 kB / 451 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1704, allocations: 4 kB / 451 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1705, allocations: 0 / 451 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.1705, allocations: 4 kB / 451 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.1705, allocations: 8.172 kB / 451.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.171, allocations: 365 kB / 451.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1711, allocations: 112.9 kB / 451.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1711, allocations: 4 kB / 451.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1713, allocations: 15.98 kB / 451.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.1713, allocations: 3.938 kB / 451.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1714, allocations: 12 kB / 451.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1715, allocations: 133.1 kB / 451.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1715, allocations: 0 / 451.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.1718, allocations: 31.94 kB / 451.7 MB, free: 7.734 MB / 334.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.0001095/0.1719, allocations: 95.19 kB / 451.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.1722, allocations: 123.7 kB / 451.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1722, allocations: 0 / 451.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.1723, allocations: 13.12 kB / 451.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.1729, allocations: 108 kB / 452.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.1736, allocations: 315.6 kB / 452.4 MB, free: 7.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.174, allocations: 0.728 MB / 453.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.055e-05/0.1741, allocations: 13.55 kB / 453.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.1741, allocations: 19.44 kB / 453.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1741, allocations: 0 / 453.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of Templates: time 0.005573/0.1797, allocations: 1.805 MB / 454.9 MB, free: 4.457 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches