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/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_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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009531/0.0009533, allocations: 190.7 kB / 7.847 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0009053/0.0009051, allocations: 85.91 kB / 261.5 MB, free: 13.54 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.06687/0.06687, allocations: 12.59 MB / 322 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.196e-06/8.226e-06, allocations: 4 kB / 378.4 MB, free: 75.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07704, allocations: 50.38 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/0.3365, allocations: 77.75 MB / 0.4946 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.3368, allocations: 62.47 kB / 0.4947 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008357/0.3451, allocations: 2.789 MB / 0.4974 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.3452, allocations: 4 kB / 0.4974 GB, free: 11.52 MB / 330.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.0004052/0.3456, allocations: 417.6 kB / 0.4978 GB, free: 11.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3456, allocations: 7.781 kB / 0.4978 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.3457, allocations: 23 kB / 0.4979 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.3459, allocations: 218.4 kB / 0.4981 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.346, allocations: 9.203 kB / 0.4981 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.346, allocations: 7.719 kB / 0.4981 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001773/0.3462, allocations: 97.03 kB / 0.4982 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.3466, allocations: 311.8 kB / 0.4985 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3466, allocations: 3.938 kB / 0.4985 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3466, allocations: 3.984 kB / 0.4985 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3467, allocations: 3.875 kB / 0.4985 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.3471, allocations: 431.6 kB / 0.4989 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.3475, allocations: 215.9 kB / 0.4991 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.3476, allocations: 113 kB / 0.4992 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3476, allocations: 7.219 kB / 0.4992 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3477, allocations: 39.58 kB / 0.4993 GB, free: 10.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.3477, allocations: 3.906 kB / 0.4993 GB, free: 10.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003204/0.348, allocations: 175.2 kB / 0.4994 GB, free: 10.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3481, allocations: 139.2 kB / 0.4996 GB, free: 10.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.3482, allocations: 133.2 kB / 0.4997 GB, free: 9.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3482, allocations: 29.61 kB / 0.4997 GB, free: 9.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.3482, allocations: 102.5 kB / 0.4998 GB, free: 9.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.3482, allocations: 13.5 kB / 0.4998 GB, free: 9.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.3482, allocations: 0 / 0.4998 GB, free: 9.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.3483, allocations: 330.4 kB / 0.5001 GB, free: 9.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.3483, allocations: 26.23 kB / 0.5002 GB, free: 9.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.3484, allocations: 138.4 kB / 0.5003 GB, free: 9.363 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/0.3485, allocations: 54.64 kB / 0.5003 GB, free: 9.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3485, allocations: 7.719 kB / 0.5004 GB, free: 9.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001898/0.3487, allocations: 151.9 kB / 0.5005 GB, free: 9.297 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.3487, allocations: 7.375 kB / 0.5005 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3487, allocations: 3.688 kB / 0.5005 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3488, allocations: 3.812 kB / 0.5005 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3489, allocations: 45.19 kB / 0.5006 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3489, allocations: 15.47 kB / 0.5006 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/0.349, allocations: 9.031 kB / 0.5006 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.349, allocations: 15.97 kB / 0.5006 GB, free: 9.281 MB / 330.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 5.652e-05/0.3491, allocations: 112.8 kB / 0.5007 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3493, allocations: 158.7 kB / 0.5009 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.3494, allocations: 17.55 kB / 0.5009 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3494, allocations: 7.875 kB / 0.5009 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3494, allocations: 0 / 0.5009 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3494, allocations: 1.5 kB / 0.5009 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3496, allocations: 185.1 kB / 0.5011 GB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3496, allocations: 4 kB / 0.5011 GB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.3498, allocations: 40.34 kB / 0.5011 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3498, allocations: 1.594 kB / 0.5011 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3498, allocations: 3.844 kB / 0.5011 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3498, allocations: 3.938 kB / 0.5011 GB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3498, allocations: 4 kB / 0.5011 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002484/0.3501, allocations: 403.3 kB / 0.5015 GB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.3501, allocations: 88.3 kB / 0.5016 GB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.3501, allocations: 5.25 kB / 0.5016 GB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3503, allocations: 9.578 kB / 0.5016 GB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3503, allocations: 9.172 kB / 0.5016 GB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3503, allocations: 5.531 kB / 0.5016 GB, free: 8.535 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.611e-05/0.3504, allocations: 109.1 kB / 0.5017 GB, free: 8.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000306/0.3507, allocations: 24.41 kB / 0.5017 GB, free: 8.453 MB / 330.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 8.165e-05/0.3508, allocations: 102.5 kB / 0.5018 GB, free: 8.355 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.351, allocations: 120.1 kB / 0.5019 GB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.351, allocations: 3.938 kB / 0.5019 GB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.351, allocations: 10.14 kB / 0.502 GB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.3514, allocations: 103.6 kB / 0.5021 GB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.3519, allocations: 254.8 kB / 0.5023 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.3521, allocations: 0.7639 MB / 0.503 GB, free: 7.508 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3521, allocations: 0 / 0.503 GB, free: 7.508 MB / 330.7 MB Notification: Performance of Templates: time 0.003409/0.3555, allocations: 1.219 MB / 0.5042 GB, free: 7.41 MB / 330.7 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)