Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.89 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1608, allocations: 53.31 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.004797/0.1656, allocations: 1.583 MB / 428.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1673, allocations: 0.5414 MB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.1673, allocations: 4 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.472e-05/0.1674, allocations: 3.938 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1676, allocations: 7.875 kB / 429.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.168, allocations: 55.81 kB / 429.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1682, allocations: 43.86 kB / 429.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1683, allocations: 8 kB / 429.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1684, allocations: 31.84 kB / 429.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1685, allocations: 15.92 kB / 429.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1685, allocations: 4 kB / 429.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.805e-05/0.1686, allocations: 4 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.1687, allocations: 15.92 kB / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1687, allocations: 23.81 kB / 429.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1689, allocations: 47.75 kB / 429.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.1689, allocations: 3.984 kB / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1689, allocations: 4 kB / 429.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.169, allocations: 0 / 429.5 MB, free: 2.074 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007538/0.1697, allocations: 375.1 kB / 429.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1698, allocations: 8.031 kB / 429.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.17, allocations: 16.88 kB / 429.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.1704, allocations: 206.9 kB / 430.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.1704, allocations: 384 / 430.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1705, allocations: 8.375 kB / 430.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.1708, allocations: 93.36 kB / 430.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1709, allocations: 0 / 430.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1709, allocations: 0 / 430.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1709, allocations: 4 kB / 430.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.171, allocations: 23.97 kB / 430.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.1715, allocations: 265.7 kB / 430.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1716, allocations: 41.16 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.993e-05/0.1717, allocations: 21.77 kB / 430.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1718, allocations: 4 kB / 430.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.1718, allocations: 38.5 kB / 430.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.1718, allocations: 0 / 430.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000417/0.1722, allocations: 65.62 kB / 430.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.1723, allocations: 85.05 kB / 430.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1725, allocations: 142.4 kB / 430.9 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.1726, allocations: 25.7 kB / 430.9 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.1727, allocations: 84.14 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1727, allocations: 7.938 kB / 431 MB, free: 364 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.1727, allocations: 21.67 kB / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1729, allocations: 314.8 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.173, allocations: 8 kB / 431.4 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1731, allocations: 25.77 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1733, allocations: 33.52 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1733, allocations: 0 / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002441/0.1735, allocations: 57.69 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1736, allocations: 4 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1736, allocations: 4.125 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1736, allocations: 3.938 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1737, allocations: 7.984 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1737, allocations: 4 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.1738, allocations: 3.938 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1738, allocations: 0 / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000162/0.1739, allocations: 125.7 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1741, allocations: 37.64 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.1741, allocations: 15.91 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1741, allocations: 0 / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1741, allocations: 0 / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.1741, allocations: 4 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.1745, allocations: 169.6 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1745, allocations: 0 / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.1745, allocations: 7.984 kB / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1745, allocations: 0 / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1745, allocations: 4 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1745, allocations: 0 / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1745, allocations: 0 / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1748, allocations: 168.2 kB / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.175, allocations: 93.05 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.175, allocations: 0 / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1751, allocations: 4 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1751, allocations: 0 / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1751, allocations: 4.031 kB / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1753, allocations: 109.7 kB / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1753, allocations: 0 / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00044/0.1757, allocations: 8 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000156/0.1759, allocations: 99.25 kB / 432.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.1761, allocations: 19.92 kB / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1761, allocations: 0 / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.1762, allocations: 16.11 kB / 432.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.1767, allocations: 23.89 kB / 432.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.1773, allocations: 159.4 kB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.1778, allocations: 0.6885 MB / 433.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.174e-05/0.1778, allocations: 160 / 433.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.1779, allocations: 15.38 kB / 433.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1779, allocations: 4 kB / 433.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Templates: time 0.004758/0.1826, allocations: 483 kB / 433.7 MB, free: 13.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7535612573847175]