Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002883/0.002888, allocations: 188 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.531/4.531, allocations: 205.4 MB / 222.6 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001967/0.001966, allocations: 106.8 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2042/0.2042, allocations: 12.6 MB / 331.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 14.09 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1823, allocations: 50.37 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.003545/0.1859, allocations: 1.458 MB / 443.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1876, allocations: 0.5039 MB / 444.3 MB, free: 9.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.1878, allocations: 7.938 kB / 444.3 MB, free: 9.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.188, allocations: 11.92 kB / 444.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/0.1881, allocations: 7.969 kB / 444.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.1887, allocations: 60.94 kB / 444.4 MB, free: 9.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.189, allocations: 75.84 kB / 444.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.1893, allocations: 81.27 kB / 444.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1896, allocations: 39.78 kB / 444.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1897, allocations: 39.77 kB / 444.6 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.1898, allocations: 4 kB / 444.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.423e-05/0.1898, allocations: 4 kB / 444.6 MB, free: 9.316 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.1899, allocations: 23.92 kB / 444.7 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.19, allocations: 45.58 kB / 444.7 MB, free: 9.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1903, allocations: 95.83 kB / 444.8 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1903, allocations: 0 / 444.8 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.93e-06/0.1903, allocations: 0 / 444.8 MB, free: 9.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1904, allocations: 7.875 kB / 444.8 MB, free: 9.141 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001075/0.1915, allocations: 423.7 kB / 445.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.1915, allocations: 12.03 kB / 445.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.1917, allocations: 15.81 kB / 445.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.1921, allocations: 222.8 kB / 445.5 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1921, allocations: 8 kB / 445.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.1922, allocations: 16 kB / 445.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.1935, allocations: 347.2 kB / 445.8 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.1936, allocations: 3.938 kB / 445.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.1937, allocations: 4 kB / 445.8 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.1937, allocations: 7.984 kB / 445.8 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.1944, allocations: 123.8 kB / 446 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1955, allocations: 462.4 kB / 446.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.1965, allocations: 255.7 kB / 446.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.1966, allocations: 12 kB / 446.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1966, allocations: 38.56 kB / 446.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 5.14e-06/0.1967, allocations: 0 / 446.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001454/0.1981, allocations: 361.8 kB / 447.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.1983, allocations: 136.5 kB / 447.2 MB, free: 6.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1985, allocations: 150.5 kB / 447.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1985, allocations: 37.7 kB / 447.4 MB, free: 6.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.1986, allocations: 170.4 kB / 447.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.1987, allocations: 15.89 kB / 447.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.1988, allocations: 4 kB / 447.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.1989, allocations: 322.8 kB / 447.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.1991, allocations: 35.97 kB / 447.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.1994, allocations: 155.4 kB / 448.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1998, allocations: 71.91 kB / 448.1 MB, free: 5.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1998, allocations: 0 / 448.1 MB, free: 5.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008008/0.2006, allocations: 205.1 kB / 448.3 MB, free: 5.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.2007, allocations: 15.47 kB / 448.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2007, allocations: 4 kB / 448.4 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.2008, allocations: 12 kB / 448.4 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.2011, allocations: 35.92 kB / 448.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.2012, allocations: 8 kB / 448.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.2015, allocations: 23.83 kB / 448.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.2016, allocations: 8 kB / 448.4 MB, free: 5.148 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.2018, allocations: 145.5 kB / 448.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/0.2024, allocations: 169.5 kB / 448.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/0.2025, allocations: 24.8 kB / 448.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/0.2026, allocations: 3.938 kB / 448.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.2026, allocations: 4 kB / 448.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.2026, allocations: 7.922 kB / 448.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.2032, allocations: 209.5 kB / 449 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.2032, allocations: 0 / 449 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.2037, allocations: 39.91 kB / 449 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.2037, allocations: 0 / 449 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.2037, allocations: 8 kB / 449 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/0.2038, allocations: 7.984 kB / 449 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.2038, allocations: 4 kB / 449 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.2048, allocations: 437.5 kB / 449.5 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.2049, allocations: 85.02 kB / 449.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.2049, allocations: 11.94 kB / 449.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.2054, allocations: 4 kB / 449.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.774e-05/0.2055, allocations: 15.98 kB / 449.6 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.2055, allocations: 4 kB / 449.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.2057, allocations: 111.2 kB / 449.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.2057, allocations: 0 / 449.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008321/0.2066, allocations: 27.84 kB / 449.7 MB, free: 3.727 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.2068, allocations: 103.2 kB / 449.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009335/0.2078, allocations: 151.7 kB / 450 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.2078, allocations: 0 / 450 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.208, allocations: 29.05 kB / 450 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009751/0.209, allocations: 104 kB / 450.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2105, allocations: 428.4 kB / 450.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.2109, allocations: 0.7399 MB / 451.3 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2111, allocations: 27.36 kB / 451.3 MB, free: 2.086 MB / 282.7 MB Notification: Performance of SimCode: time 1.873e-06/0.2111, allocations: 4 kB / 451.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of Templates: time 0.006924/0.218, allocations: 1.712 MB / 453 MB, free: 380 kB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)