Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001375, allocations: 107.9 kB / 16.45 MB, free: 6.441 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.001455/0.001455, allocations: 186.9 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.587/1.587, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.08433/0.08433, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.002818/0.002818, allocations: 90.44 kB / 394.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1548, allocations: 49.4 MB / 443.6 MB, free: 460 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004103/0.159, allocations: 1.844 MB / 445.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1606, allocations: 0.6711 MB / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.1609, allocations: 7.938 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1611, allocations: 15.8 kB / 446.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1612, allocations: 27.78 kB / 446.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1617, allocations: 103.7 kB / 446.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.1619, allocations: 143.6 kB / 446.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.1622, allocations: 69.38 kB / 446.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1623, allocations: 55.73 kB / 446.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1624, allocations: 55.69 kB / 446.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.1625, allocations: 8 kB / 446.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.1625, allocations: 12 kB / 446.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.1626, allocations: 27.86 kB / 446.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.1627, allocations: 63.61 kB / 446.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1629, allocations: 143.4 kB / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1629, allocations: 0 / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1629, allocations: 0 / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.163, allocations: 4 kB / 446.8 MB, free: 13.2 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.0007355/0.1637, allocations: 443 kB / 447.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1638, allocations: 12.03 kB / 447.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.1638, allocations: 20.66 kB / 447.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1642, allocations: 248.9 kB / 447.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1642, allocations: 16.12 kB / 447.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1643, allocations: 4 kB / 447.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.1649, allocations: 268.3 kB / 447.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1649, allocations: 0 / 447.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.165, allocations: 8 kB / 447.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.165, allocations: 0 / 447.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1652, allocations: 79.81 kB / 447.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.1658, allocations: 423.5 kB / 448.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.1664, allocations: 298.1 kB / 448.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.1666, allocations: 120.2 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1666, allocations: 3.938 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.1666, allocations: 42.56 kB / 448.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.1666, allocations: 0 / 448.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005986/0.1672, allocations: 225.2 kB / 449 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.1674, allocations: 187.9 kB / 449.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1676, allocations: 187.1 kB / 449.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1676, allocations: 25.7 kB / 449.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.1677, allocations: 108.3 kB / 449.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1678, allocations: 23.88 kB / 449.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.1678, allocations: 33.62 kB / 449.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.168, allocations: 322.8 kB / 449.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.168, allocations: 23.98 kB / 449.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1682, allocations: 130.5 kB / 450 MB, free: 9.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1684, allocations: 161.5 kB / 450.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1684, allocations: 0 / 450.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002664/0.1687, allocations: 165.2 kB / 450.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1687, allocations: 11.94 kB / 450.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1687, allocations: 0 / 450.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1687, allocations: 8.375 kB / 450.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1689, allocations: 35.91 kB / 450.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1689, allocations: 4.5 kB / 450.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.169, allocations: 16 kB / 450.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.169, allocations: 11.94 kB / 450.4 MB, free: 9.145 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001283/0.1691, allocations: 141.7 kB / 450.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.1694, allocations: 141.3 kB / 450.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.1695, allocations: 25.39 kB / 450.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1695, allocations: 0 / 450.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1695, allocations: 4 kB / 450.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1695, allocations: 4.031 kB / 450.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.1698, allocations: 221.4 kB / 450.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1699, allocations: 3.984 kB / 450.9 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.17, allocations: 31.98 kB / 451 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.17, allocations: 7.938 kB / 451 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.17, allocations: 4 kB / 451 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.17, allocations: 7.938 kB / 451 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.17, allocations: 7.922 kB / 451 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.1705, allocations: 345.1 kB / 451.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.1706, allocations: 112.9 kB / 451.4 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.1706, allocations: 7.938 kB / 451.4 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1707, allocations: 15.98 kB / 451.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.1708, allocations: 7.938 kB / 451.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.1708, allocations: 8 kB / 451.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1709, allocations: 133.1 kB / 451.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1709, allocations: 0 / 451.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.1713, allocations: 20 kB / 451.6 MB, free: 7.809 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001238/0.1714, allocations: 103.2 kB / 451.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.1717, allocations: 115.8 kB / 451.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1717, allocations: 0 / 451.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.1718, allocations: 15.94 kB / 451.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.1724, allocations: 109.7 kB / 452 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.1733, allocations: 355.5 kB / 452.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1737, allocations: 0.7202 MB / 453 MB, free: 6.336 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.123e-05/0.1738, allocations: 17.53 kB / 453.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.1738, allocations: 15.44 kB / 453.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1738, allocations: 0 / 453.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of Templates: time 0.005584/0.1794, allocations: 1.74 MB / 454.8 MB, free: 4.562 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches