Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001445, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.4 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 62.72 kB / 306.4 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 50.54 MB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00356/0.1692, allocations: 1.632 MB / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1703, allocations: 0.526 MB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1704, allocations: 11.88 kB / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.283e-05/0.1705, allocations: 0 / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1707, allocations: 11.91 kB / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1711, allocations: 55.89 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1712, allocations: 43.86 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1713, allocations: 11.98 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1715, allocations: 27.91 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.588e-05/0.1716, allocations: 27.86 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1716, allocations: 0 / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.252e-05/0.1716, allocations: 8 kB / 359.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.1717, allocations: 15.92 kB / 359.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.1718, allocations: 27.81 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1719, allocations: 55.8 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1719, allocations: 0 / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1719, allocations: 0 / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1719, allocations: 0 / 359.4 MB, free: 11.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005897/0.1725, allocations: 391.2 kB / 359.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1726, allocations: 8.031 kB / 359.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.1728, allocations: 16.84 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.173, allocations: 192.2 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.173, allocations: 4.375 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1731, allocations: 4.375 kB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.1734, allocations: 125.2 kB / 360.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1734, allocations: 7.922 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1735, allocations: 7.984 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1735, allocations: 0 / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.1736, allocations: 19.98 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.174, allocations: 265.7 kB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.1742, allocations: 142.2 kB / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.1743, allocations: 29.77 kB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1743, allocations: 0 / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1744, allocations: 34.56 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1744, allocations: 3.938 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002986/0.1747, allocations: 77.58 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.1748, allocations: 89.03 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1749, allocations: 140.6 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1749, allocations: 25.7 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.175, allocations: 84.14 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.175, allocations: 7.984 kB / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1751, allocations: 21.62 kB / 361.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1752, allocations: 319 kB / 361.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/0.1752, allocations: 7.984 kB / 361.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.1753, allocations: 35.42 kB / 361.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.756e-05/0.1754, allocations: 55.3 kB / 361.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1754, allocations: 3.938 kB / 361.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001536/0.1756, allocations: 65.62 kB / 361.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1756, allocations: 7.984 kB / 361.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1756, allocations: 0 / 361.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1756, allocations: 4 kB / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.1757, allocations: 16.06 kB / 361.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1757, allocations: 0 / 361.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.1758, allocations: 7.906 kB / 361.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1758, allocations: 7.969 kB / 361.6 MB, free: 9.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.413e-05/0.1759, allocations: 121.7 kB / 361.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.176, allocations: 45.69 kB / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.176, allocations: 12.25 kB / 361.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1761, allocations: 0 / 361.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1761, allocations: 4 kB / 361.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1761, allocations: 7.938 kB / 361.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1763, allocations: 173.5 kB / 362 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1763, allocations: 3.984 kB / 362 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.1763, allocations: 11.94 kB / 362 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1764, allocations: 4 kB / 362 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1764, allocations: 336 / 362 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1764, allocations: 4 kB / 362 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1764, allocations: 0 / 362 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1766, allocations: 176.2 kB / 362.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.1767, allocations: 89.09 kB / 362.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1767, allocations: 4 kB / 362.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1768, allocations: 3.984 kB / 362.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1768, allocations: 0 / 362.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1768, allocations: 4 kB / 362.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.1769, allocations: 117.8 kB / 362.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1769, allocations: 0 / 362.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1772, allocations: 8 kB / 362.4 MB, free: 8.551 MB / 302.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 (4): * Single equations (assignments): 4 * 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.0001445/0.1773, allocations: 95.25 kB / 362.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.1775, allocations: 31.92 kB / 362.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1775, allocations: 0 / 362.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.1775, allocations: 11.98 kB / 362.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.178, allocations: 28.2 kB / 362.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.1784, allocations: 199.2 kB / 362.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1788, allocations: 0.6924 MB / 363.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.1788, allocations: 4 kB / 363.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1788, allocations: 11.44 kB / 363.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1788, allocations: 0 / 363.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of Templates: time 0.002976/0.1818, allocations: 0.4965 MB / 363.9 MB, free: 6.93 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches