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.002781/0.00278, allocations: 181 kB / 8.409 MB, free: 0.668 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.3 MB / 214.1 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 78.7 kB / 262.1 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1005/0.1005, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.885e-05/1.887e-05, allocations: 4 kB / 378.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 50.36 MB / 429.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.447, allocations: 77.83 MB / 0.4952 GB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4473, allocations: 63.97 kB / 0.4953 GB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02227/0.4695, allocations: 3.107 MB / 0.4983 GB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4696, allocations: 0 / 0.4983 GB, free: 1.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.4696, allocations: 4 kB / 0.4983 GB, free: 1.301 MB / 346.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.000913/0.4706, allocations: 418 kB / 0.4987 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.4707, allocations: 8.031 kB / 0.4987 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.4708, allocations: 15.81 kB / 0.4987 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.4713, allocations: 233.4 kB / 0.499 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.4714, allocations: 4 kB / 0.499 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.4714, allocations: 8 kB / 0.499 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004728/0.4719, allocations: 91.95 kB / 0.4991 GB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.4731, allocations: 315.2 kB / 0.4994 GB, free: 128 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4731, allocations: 0 / 0.4994 GB, free: 128 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.4732, allocations: 0 / 0.4994 GB, free: 128 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.4732, allocations: 4 kB / 0.4994 GB, free: 124 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4744, allocations: 423 kB / 0.4998 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/0.4753, allocations: 214.6 kB / 0.5 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.4757, allocations: 111.7 kB / 0.5001 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.4758, allocations: 4 kB / 0.5001 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.4758, allocations: 42.5 kB / 0.5001 GB, free: 15.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 4.999e-06/0.4759, allocations: 0 / 0.5001 GB, free: 15.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007905/0.4767, allocations: 173.3 kB / 0.5003 GB, free: 15.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.4768, allocations: 132.5 kB / 0.5004 GB, free: 14.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.4771, allocations: 133.5 kB / 0.5005 GB, free: 14.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4771, allocations: 25.8 kB / 0.5006 GB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4773, allocations: 178.4 kB / 0.5007 GB, free: 14.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.4774, allocations: 15.89 kB / 0.5007 GB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.4774, allocations: 0 / 0.5007 GB, free: 14.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4776, allocations: 318.8 kB / 0.501 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.4778, allocations: 24 kB / 0.5011 GB, free: 14.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.478, allocations: 140.1 kB / 0.5012 GB, free: 14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.4783, allocations: 51.91 kB / 0.5013 GB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.4783, allocations: 4 kB / 0.5013 GB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006172/0.4789, allocations: 157.2 kB / 0.5014 GB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.479, allocations: 4.562 kB / 0.5014 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.479, allocations: 8 kB / 0.5014 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.4791, allocations: 11.94 kB / 0.5014 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.4795, allocations: 39.92 kB / 0.5015 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.352e-05/0.4796, allocations: 11.94 kB / 0.5015 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.4799, allocations: 8 kB / 0.5015 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.4799, allocations: 8 kB / 0.5015 GB, free: 13.7 MB / 362.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 () * 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.000163/0.4801, allocations: 116.9 kB / 0.5016 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/0.4807, allocations: 149.4 kB / 0.5018 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.4808, allocations: 24.73 kB / 0.5018 GB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.4809, allocations: 7.938 kB / 0.5018 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4809, allocations: 0 / 0.5018 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.4809, allocations: 7.953 kB / 0.5018 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.4814, allocations: 178 kB / 0.502 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4815, allocations: 0 / 0.502 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.482, allocations: 35.97 kB / 0.502 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.482, allocations: 7.938 kB / 0.502 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.4821, allocations: 4 kB / 0.502 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.4821, allocations: 8.031 kB / 0.502 GB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.4821, allocations: 0 / 0.502 GB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.4829, allocations: 389.6 kB / 0.5024 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.483, allocations: 96.92 kB / 0.5025 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.4831, allocations: 3.953 kB / 0.5025 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.4835, allocations: 7.984 kB / 0.5025 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.4836, allocations: 4 kB / 0.5025 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.4836, allocations: 7.984 kB / 0.5025 GB, free: 12.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.4838, allocations: 107.9 kB / 0.5026 GB, free: 12.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.4838, allocations: 4 kB / 0.5026 GB, free: 12.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007442/0.4846, allocations: 23.94 kB / 0.5026 GB, free: 12.43 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001795/0.4848, allocations: 99.19 kB / 0.5027 GB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.4854, allocations: 112.6 kB / 0.5028 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4854, allocations: 0 / 0.5028 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.4855, allocations: 17.05 kB / 0.5028 GB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.4863, allocations: 87.92 kB / 0.5029 GB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.4875, allocations: 285.2 kB / 0.5032 GB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.4881, allocations: 0.7396 MB / 0.5039 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.4882, allocations: 19.42 kB / 0.5039 GB, free: 11.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4882, allocations: 0 / 0.5039 GB, free: 11.01 MB / 362.7 MB Notification: Performance of Templates: time 0.007508/0.4957, allocations: 1.721 MB / 0.5056 GB, free: 9.293 MB / 362.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)