Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 102.3 kB / 16.02 MB, free: 6.316 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.001774/0.001774, allocations: 190.8 kB / 16.95 MB, free: 6.137 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.823/1.823, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.08988/0.08988, allocations: 12.59 MB / 282.7 MB, free: 15.62 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.001805/0.001805, allocations: 96.66 kB / 343 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3802, allocations: 49.37 MB / 392.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.003428/0.3837, allocations: 1.846 MB / 394.2 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.3846, allocations: 0.5259 MB / 394.7 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.3848, allocations: 5.594 kB / 394.7 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.3849, allocations: 13.56 kB / 394.7 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.385, allocations: 12.19 kB / 394.8 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.3853, allocations: 62.28 kB / 394.8 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3855, allocations: 122.1 kB / 394.9 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.3858, allocations: 86.12 kB / 395 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3859, allocations: 54.11 kB / 395.1 MB, free: 47.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.386, allocations: 57.77 kB / 395.1 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.386, allocations: 8.438 kB / 395.1 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.521e-05/0.3861, allocations: 8.719 kB / 395.1 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.3862, allocations: 43.53 kB / 395.2 MB, free: 47.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.996e-05/0.3862, allocations: 58.11 kB / 395.2 MB, free: 47.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3865, allocations: 130.4 kB / 395.4 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3865, allocations: 1.125 kB / 395.4 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3865, allocations: 0 / 395.4 MB, free: 47.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3865, allocations: 0 / 395.4 MB, free: 47.17 MB / 318.1 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.0006454/0.3872, allocations: 450.2 kB / 395.8 MB, free: 46.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3872, allocations: 9.219 kB / 395.8 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.3873, allocations: 21.83 kB / 395.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.3875, allocations: 223.5 kB / 396.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3875, allocations: 14.34 kB / 396.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3876, allocations: 13.81 kB / 396.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006945/0.3883, allocations: 349.3 kB / 396.4 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3883, allocations: 1.094 kB / 396.4 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3883, allocations: 9.109 kB / 396.4 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.3883, allocations: 5.484 kB / 396.4 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.3886, allocations: 106.8 kB / 396.6 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.3893, allocations: 458.3 kB / 397 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.3897, allocations: 251.2 kB / 397.2 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.3899, allocations: 129.9 kB / 397.4 MB, free: 45.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3899, allocations: 11.06 kB / 397.4 MB, free: 45.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.39, allocations: 37 kB / 397.4 MB, free: 45.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.39, allocations: 0 / 397.4 MB, free: 45.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006034/0.3906, allocations: 275.2 kB / 397.7 MB, free: 45.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.3907, allocations: 141.8 kB / 397.8 MB, free: 45.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3908, allocations: 152.3 kB / 398 MB, free: 45.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3908, allocations: 30.86 kB / 398 MB, free: 45.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.3909, allocations: 112.6 kB / 398.1 MB, free: 45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3909, allocations: 15.52 kB / 398.1 MB, free: 44.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.391, allocations: 37.23 kB / 398.2 MB, free: 44.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.3911, allocations: 330.4 kB / 398.5 MB, free: 44.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.3912, allocations: 33.16 kB / 398.5 MB, free: 44.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3913, allocations: 154.6 kB / 398.7 MB, free: 44.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.3916, allocations: 200.9 kB / 398.9 MB, free: 44.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3916, allocations: 5.125 kB / 398.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003309/0.3919, allocations: 202.3 kB / 399.1 MB, free: 44.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.392, allocations: 7.594 kB / 399.1 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.392, allocations: 8.25 kB / 399.1 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.392, allocations: 5.812 kB / 399.1 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3922, allocations: 40.67 kB / 399.1 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.3922, allocations: 8.391 kB / 399.1 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.3923, allocations: 20.62 kB / 399.2 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.3923, allocations: 8.469 kB / 399.2 MB, free: 44.09 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.3924, allocations: 146.4 kB / 399.3 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.3927, allocations: 159.8 kB / 399.5 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.3928, allocations: 24.47 kB / 399.5 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.3928, allocations: 11.36 kB / 399.5 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.3928, allocations: 2.156 kB / 399.5 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3928, allocations: 1.219 kB / 399.5 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.3931, allocations: 208.3 kB / 399.7 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3931, allocations: 1.125 kB / 399.7 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3932, allocations: 37.16 kB / 399.7 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3932, allocations: 6.438 kB / 399.8 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3932, allocations: 5.609 kB / 399.8 MB, free: 43.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3933, allocations: 1.281 kB / 399.8 MB, free: 43.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3933, allocations: 2.188 kB / 399.8 MB, free: 43.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.3937, allocations: 391.1 kB / 400.1 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.3938, allocations: 94.11 kB / 400.2 MB, free: 43.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.3938, allocations: 6.625 kB / 400.2 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3939, allocations: 15.86 kB / 400.3 MB, free: 43.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.394, allocations: 6.594 kB / 400.3 MB, free: 43.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.394, allocations: 3.844 kB / 400.3 MB, free: 43.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.803e-05/0.3941, allocations: 114.8 kB / 400.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3941, allocations: 1.125 kB / 400.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.3944, allocations: 25.16 kB / 400.4 MB, free: 43.05 MB / 318.1 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 (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.000101/0.3945, allocations: 97.06 kB / 400.5 MB, free: 42.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.3949, allocations: 172.4 kB / 400.7 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3949, allocations: 1.156 kB / 400.7 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.595e-05/0.395, allocations: 20.64 kB / 400.7 MB, free: 42.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.3956, allocations: 106.6 kB / 400.8 MB, free: 42.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006687/0.3962, allocations: 417.1 kB / 401.2 MB, free: 42.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3965, allocations: 0.7396 MB / 401.9 MB, free: 41.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.055e-05/0.3966, allocations: 21.88 kB / 402 MB, free: 41.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.3966, allocations: 18.36 kB / 402 MB, free: 41.76 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3966, allocations: 0 / 402 MB, free: 41.76 MB / 318.1 MB Notification: Performance of Templates: time 0.004491/0.4011, allocations: 1.289 MB / 403.3 MB, free: 41.13 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)