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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 177.6 kB / 8.045 MB, free: 1.027 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.577/1.577, allocations: 205.3 MB / 213.8 MB, free: 1.746 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.0008389/0.0008388, allocations: 92.03 kB / 261.8 MB, free: 1.688 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.0793/0.0793, allocations: 12.6 MB / 322.4 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.178e-05, allocations: 0 / 378.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2237, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09872/0.3224, allocations: 77.62 MB / 0.495 GB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.3227, allocations: 59.97 kB / 0.4951 GB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003551/0.3262, allocations: 1.338 MB / 0.4964 GB, free: 3.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3263, allocations: 0 / 0.4964 GB, free: 3.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3263, allocations: 4 kB / 0.4964 GB, free: 3.223 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004339/0.3267, allocations: 358.4 kB / 0.4967 GB, free: 2.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3268, allocations: 12.03 kB / 0.4968 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3268, allocations: 7.906 kB / 0.4968 GB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.327, allocations: 190.8 kB / 0.4969 GB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3271, allocations: 7.953 kB / 0.497 GB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3271, allocations: 4 kB / 0.497 GB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.497e-05/0.3272, allocations: 24 kB / 0.497 GB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3274, allocations: 121 kB / 0.4971 GB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3275, allocations: 3.984 kB / 0.4971 GB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3275, allocations: 4 kB / 0.4971 GB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3275, allocations: 0 / 0.4971 GB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3279, allocations: 270.1 kB / 0.4974 GB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3281, allocations: 150.3 kB / 0.4975 GB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.3281, allocations: 29.84 kB / 0.4975 GB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3282, allocations: 4 kB / 0.4975 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.3283, allocations: 67.42 kB / 0.4976 GB, free: 1.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.3283, allocations: 0 / 0.4976 GB, free: 1.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001922/0.3285, allocations: 93.64 kB / 0.4977 GB, free: 1.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.3285, allocations: 81.05 kB / 0.4978 GB, free: 1.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.3286, allocations: 112.9 kB / 0.4979 GB, free: 1.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3287, allocations: 25.7 kB / 0.4979 GB, free: 1.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.3287, allocations: 92.28 kB / 0.498 GB, free: 1.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.3287, allocations: 15.81 kB / 0.498 GB, free: 1.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.3287, allocations: 0 / 0.498 GB, free: 1.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3289, allocations: 322.8 kB / 0.4983 GB, free: 1.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.3289, allocations: 20 kB / 0.4983 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.329, allocations: 62 kB / 0.4984 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.907e-05/0.329, allocations: 20 kB / 0.4984 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.329, allocations: 0 / 0.4984 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001502/0.3292, allocations: 101.5 kB / 0.4985 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3292, allocations: 8 kB / 0.4985 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3292, allocations: 0 / 0.4985 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3292, allocations: 4.375 kB / 0.4985 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.3293, allocations: 15.98 kB / 0.4985 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3293, allocations: 8 kB / 0.4985 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.3294, allocations: 8.156 kB / 0.4985 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3294, allocations: 12 kB / 0.4986 GB, free: 0.7344 MB / 346.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.453e-05/0.3295, allocations: 112.9 kB / 0.4987 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.3295, allocations: 53.69 kB / 0.4987 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.3296, allocations: 12.61 kB / 0.4987 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3296, allocations: 0 / 0.4987 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3296, allocations: 4 kB / 0.4987 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3296, allocations: 0 / 0.4987 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.3299, allocations: 319 kB / 0.499 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3299, allocations: 0 / 0.499 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/0.3299, allocations: 4 kB / 0.499 GB, free: 192 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3299, allocations: 0 / 0.499 GB, free: 192 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3299, allocations: 0 / 0.499 GB, free: 192 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.33, allocations: 7.984 kB / 0.4991 GB, free: 184 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.33, allocations: 0 / 0.4991 GB, free: 184 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.3301, allocations: 205.9 kB / 0.4992 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.3302, allocations: 89.09 kB / 0.4993 GB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3302, allocations: 0 / 0.4993 GB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.3303, allocations: 8 kB / 0.4993 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3304, allocations: 7.984 kB / 0.4993 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3304, allocations: 0 / 0.4993 GB, free: 15.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.228e-05/0.3304, allocations: 91.27 kB / 0.4994 GB, free: 15.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3304, allocations: 4 kB / 0.4994 GB, free: 15.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.3307, allocations: 12 kB / 0.4995 GB, free: 15.73 MB / 362.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 9.993e-05/0.3308, allocations: 99.25 kB / 0.4995 GB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3309, allocations: 51.94 kB / 0.4996 GB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3309, allocations: 3.938 kB / 0.4996 GB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.3309, allocations: 19.98 kB / 0.4996 GB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.3312, allocations: 23.67 kB / 0.4996 GB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.3314, allocations: 128.9 kB / 0.4998 GB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3317, allocations: 0.7004 MB / 0.5004 GB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.3317, allocations: 8.438 kB / 0.5005 GB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.3318, allocations: 11.44 kB / 0.5005 GB, free: 14.62 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3318, allocations: 3.938 kB / 0.5005 GB, free: 14.62 MB / 362.7 MB Notification: Performance of Templates: time 0.002568/0.3343, allocations: 0.7429 MB / 0.5012 GB, free: 13.88 MB / 362.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)