Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008193/0.0008193, allocations: 95 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009421/0.0009424, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.8 MB / 246.8 MB, free: 9.777 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003753, allocations: 8 kB / 307.7 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 51.53 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002707/0.1563, allocations: 1.566 MB / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1581, allocations: 0.6703 MB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.1585, allocations: 3.938 kB / 361.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1588, allocations: 19.86 kB / 361.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.1591, allocations: 15.86 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.1597, allocations: 103.7 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.1601, allocations: 135.6 kB / 361.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.1603, allocations: 57.69 kB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1605, allocations: 51.72 kB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1607, allocations: 43.66 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1607, allocations: 4 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.1608, allocations: 8 kB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.1609, allocations: 15.92 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.161, allocations: 85.19 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1613, allocations: 131.5 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1613, allocations: 0 / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1613, allocations: 0 / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1613, allocations: 0 / 362.2 MB, free: 10.16 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.0008767/0.1622, allocations: 439.3 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.909e-05/0.1623, allocations: 8.031 kB / 362.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.1626, allocations: 32.64 kB / 362.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.163, allocations: 240 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.1631, allocations: 12.12 kB / 362.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1631, allocations: 11.94 kB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006962/0.1638, allocations: 287.5 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1638, allocations: 0 / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.1639, allocations: 8 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1639, allocations: 0 / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.1641, allocations: 91.83 kB / 363.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.1648, allocations: 427.4 kB / 363.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.1653, allocations: 310.1 kB / 364 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1655, allocations: 112.4 kB / 364.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1656, allocations: 15.92 kB / 364.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1656, allocations: 38.55 kB / 364.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.1656, allocations: 0 / 364.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006158/0.1663, allocations: 237.5 kB / 364.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.1664, allocations: 195.9 kB / 364.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1667, allocations: 190.2 kB / 364.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1667, allocations: 29.7 kB / 364.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/0.1668, allocations: 104 kB / 364.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1668, allocations: 8 kB / 364.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1669, allocations: 22.08 kB / 364.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.167, allocations: 330.8 kB / 365.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.1671, allocations: 23.98 kB / 365.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.1673, allocations: 137 kB / 365.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.1676, allocations: 161.5 kB / 365.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1676, allocations: 4 kB / 365.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003284/0.1679, allocations: 169.3 kB / 365.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1679, allocations: 11.94 kB / 365.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.168, allocations: 4 kB / 365.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.168, allocations: 4 kB / 365.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1681, allocations: 40.41 kB / 365.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.1682, allocations: 8 kB / 365.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1683, allocations: 23.92 kB / 365.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1683, allocations: 8 kB / 365.8 MB, free: 6.043 MB / 302.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.0001663/0.1685, allocations: 141.7 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.1688, allocations: 153.3 kB / 366.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.1689, allocations: 21.39 kB / 366.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1689, allocations: 4 kB / 366.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.1689, allocations: 0 / 366.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1689, allocations: 4 kB / 366.1 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.1693, allocations: 221.5 kB / 366.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1693, allocations: 0 / 366.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1694, allocations: 39.97 kB / 366.4 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.1694, allocations: 3.938 kB / 366.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1695, allocations: 12.03 kB / 366.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1695, allocations: 3.938 kB / 366.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1695, allocations: 0 / 366.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.17, allocations: 365.1 kB / 366.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1701, allocations: 108.8 kB / 366.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1701, allocations: 11.94 kB / 366.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1703, allocations: 15.98 kB / 366.9 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.1703, allocations: 7.938 kB / 366.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.1704, allocations: 15.92 kB / 366.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1705, allocations: 132.4 kB / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1705, allocations: 0 / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1708, allocations: 20 kB / 367.1 MB, free: 4.68 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: 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.0001295/0.171, allocations: 99.23 kB / 367.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.1713, allocations: 119.9 kB / 367.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1713, allocations: 4.938 kB / 367.3 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.405e-05/0.1714, allocations: 16.05 kB / 367.3 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.1721, allocations: 114.3 kB / 367.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1732, allocations: 425.5 kB / 367.8 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1736, allocations: 0.7283 MB / 368.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.1737, allocations: 17.48 kB / 368.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.1737, allocations: 15.44 kB / 368.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1737, allocations: 0 / 368.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of Templates: time 0.006195/0.1799, allocations: 1.558 MB / 370.2 MB, free: 1.555 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches