Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") [: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.0009882/0.0009884, allocations: 189.1 kB / 7.847 MB, free: 2.469 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.237/1.237, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008427/0.0008426, allocations: 84.64 kB / 261.5 MB, free: 13.62 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.07274/0.07274, allocations: 12.58 MB / 322 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.224e-06, allocations: 0 / 378.4 MB, free: 75.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09161, allocations: 50.37 MB / 428.8 MB, free: 25.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2971/0.3887, allocations: 77.54 MB / 0.4944 GB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.389, allocations: 62.62 kB / 0.4945 GB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003597/0.3926, allocations: 1.015 MB / 0.4955 GB, free: 11.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.3926, allocations: 7.969 kB / 0.4955 GB, free: 11.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003787/0.393, allocations: 359.8 kB / 0.4958 GB, free: 11.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3931, allocations: 7.688 kB / 0.4958 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.3931, allocations: 14.22 kB / 0.4959 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3933, allocations: 183.7 kB / 0.496 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3934, allocations: 1.719 kB / 0.496 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3934, allocations: 4.5 kB / 0.496 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00011/0.3935, allocations: 28.11 kB / 0.4961 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.3938, allocations: 129.1 kB / 0.4962 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3938, allocations: 0.5156 kB / 0.4962 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3938, allocations: 3.75 kB / 0.4962 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3938, allocations: 0 / 0.4962 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3942, allocations: 261.6 kB / 0.4964 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3944, allocations: 160.5 kB / 0.4966 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.3944, allocations: 33.67 kB / 0.4966 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3945, allocations: 4.5 kB / 0.4966 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.543e-05/0.3945, allocations: 62.86 kB / 0.4967 GB, free: 10.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.3946, allocations: 4 kB / 0.4967 GB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002052/0.3948, allocations: 81.66 kB / 0.4968 GB, free: 10.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3948, allocations: 77.81 kB / 0.4968 GB, free: 10.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.269e-05/0.3949, allocations: 115.5 kB / 0.497 GB, free: 10.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3949, allocations: 25.7 kB / 0.497 GB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.395, allocations: 85.45 kB / 0.4971 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.395, allocations: 17.39 kB / 0.4971 GB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.395, allocations: 0 / 0.4971 GB, free: 10.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.3951, allocations: 325 kB / 0.4974 GB, free: 9.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.3951, allocations: 19.38 kB / 0.4974 GB, free: 9.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.3952, allocations: 60.12 kB / 0.4975 GB, free: 9.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.3952, allocations: 29.86 kB / 0.4975 GB, free: 9.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3952, allocations: 0 / 0.4975 GB, free: 9.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001563/0.3954, allocations: 98.52 kB / 0.4976 GB, free: 9.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3954, allocations: 4.484 kB / 0.4976 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3954, allocations: 3.906 kB / 0.4976 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3955, allocations: 3.906 kB / 0.4976 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.3955, allocations: 16.44 kB / 0.4976 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3955, allocations: 0.5625 kB / 0.4976 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.3956, allocations: 14 kB / 0.4976 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3957, allocations: 4.406 kB / 0.4976 GB, free: 9.855 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.031e-05/0.3957, allocations: 105.6 kB / 0.4977 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.3958, allocations: 55.58 kB / 0.4978 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.3958, allocations: 8.797 kB / 0.4978 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3959, allocations: 4.625 kB / 0.4978 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3959, allocations: 0 / 0.4978 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3959, allocations: 4.656 kB / 0.4978 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3961, allocations: 300.8 kB / 0.4981 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3962, allocations: 3.688 kB / 0.4981 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.3962, allocations: 5.391 kB / 0.4981 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3962, allocations: 0 / 0.4981 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3962, allocations: 4.641 kB / 0.4981 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3962, allocations: 3.906 kB / 0.4981 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3962, allocations: 3.938 kB / 0.4981 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001564/0.3964, allocations: 203 kB / 0.4983 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.3964, allocations: 85.53 kB / 0.4984 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3965, allocations: 4.625 kB / 0.4984 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3966, allocations: 9.719 kB / 0.4984 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.3966, allocations: 11.02 kB / 0.4984 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.3966, allocations: 0.7969 kB / 0.4984 GB, free: 9.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.984e-05/0.3967, allocations: 91.41 kB / 0.4985 GB, free: 9.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.397, allocations: 12.39 kB / 0.4985 GB, free: 9.078 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001056/0.3971, allocations: 104.1 kB / 0.4986 GB, free: 8.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.3972, allocations: 55.81 kB / 0.4987 GB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3972, allocations: 0 / 0.4987 GB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.3973, allocations: 20.36 kB / 0.4987 GB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3976, allocations: 29.41 kB / 0.4987 GB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.398, allocations: 105.8 kB / 0.4988 GB, free: 8.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.3982, allocations: 0.7176 MB / 0.4995 GB, free: 8.184 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3982, allocations: 3.938 kB / 0.4995 GB, free: 8.18 MB / 330.7 MB Notification: Performance of Templates: time 0.003796/0.402, allocations: 0.8961 MB / 0.5004 GB, free: 8.086 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)