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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 99.09 kB / 16.02 MB, free: 6.336 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.00149/0.001491, allocations: 200.3 kB / 16.96 MB, free: 6.152 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.922/1.922, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.07729/0.07729, allocations: 12.59 MB / 282.7 MB, free: 15.65 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.002958/0.002958, allocations: 79.89 kB / 343 MB, free: 3.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3535, allocations: 49.38 MB / 392.4 MB, free: 49.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.003271/0.3568, allocations: 1.602 MB / 394 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.3577, allocations: 490.5 kB / 394.4 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.3578, allocations: 1.5 kB / 394.4 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.3579, allocations: 9.25 kB / 394.5 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.059e-05/0.358, allocations: 8.156 kB / 394.5 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.3583, allocations: 34.56 kB / 394.5 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3584, allocations: 68.14 kB / 394.6 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3585, allocations: 21.44 kB / 394.6 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.3586, allocations: 23.91 kB / 394.6 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.3587, allocations: 29.75 kB / 394.6 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3587, allocations: 9.438 kB / 394.6 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.3587, allocations: 4.656 kB / 394.7 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.3588, allocations: 25.64 kB / 394.7 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.3588, allocations: 26.47 kB / 394.7 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.359, allocations: 66.02 kB / 394.8 MB, free: 47.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.359, allocations: 2.031 kB / 394.8 MB, free: 47.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.359, allocations: 0 / 394.8 MB, free: 47.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.359, allocations: 0 / 394.8 MB, free: 47.47 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006391/0.3597, allocations: 378.7 kB / 395.1 MB, free: 47.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3597, allocations: 9.75 kB / 395.1 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.3598, allocations: 8.625 kB / 395.2 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.36, allocations: 191 kB / 395.3 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.36, allocations: 3.5 kB / 395.3 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.3601, allocations: 12.92 kB / 395.4 MB, free: 46.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.3604, allocations: 133.5 kB / 395.5 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3604, allocations: 0.9688 kB / 395.5 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3604, allocations: 5.25 kB / 395.5 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3605, allocations: 1.672 kB / 395.5 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.776e-05/0.3605, allocations: 26.02 kB / 395.5 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.361, allocations: 305.7 kB / 395.8 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3612, allocations: 156.2 kB / 396 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.3613, allocations: 33.95 kB / 396 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3613, allocations: 1.719 kB / 396 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.3615, allocations: 69.84 kB / 396.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.3615, allocations: 0 / 396.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002813/0.3618, allocations: 125.8 kB / 396.2 MB, free: 46.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.3618, allocations: 85.3 kB / 396.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.3619, allocations: 115 kB / 396.4 MB, free: 45.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3619, allocations: 31.7 kB / 396.4 MB, free: 45.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.362, allocations: 93.19 kB / 396.5 MB, free: 45.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.362, allocations: 16.03 kB / 396.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.3621, allocations: 31.2 kB / 396.6 MB, free: 45.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.3622, allocations: 328.2 kB / 396.9 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.3622, allocations: 21.14 kB / 396.9 MB, free: 45.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.3623, allocations: 73.09 kB / 397 MB, free: 45.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.3624, allocations: 89.72 kB / 397.1 MB, free: 45.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3624, allocations: 0 / 397.1 MB, free: 45.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001757/0.3626, allocations: 111.2 kB / 397.2 MB, free: 45.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3626, allocations: 9 kB / 397.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.3626, allocations: 2.75 kB / 397.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3626, allocations: 7 kB / 397.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.973e-05/0.3627, allocations: 9.734 kB / 397.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3627, allocations: 3.344 kB / 397.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.3628, allocations: 18.58 kB / 397.2 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3628, allocations: 5.344 kB / 397.2 MB, free: 45.21 MB / 318.1 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 (triggeredBooleanSampler.y,$PRE.triggeredBooleanSampler.y,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y3,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y,$whenCondition2,$CLKPRE.ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.3629, allocations: 134.1 kB / 397.4 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.363, allocations: 53.75 kB / 397.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.363, allocations: 13.59 kB / 397.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.363, allocations: 3.531 kB / 397.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.363, allocations: 4 kB / 397.4 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.363, allocations: 0.75 kB / 397.4 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.3633, allocations: 344.3 kB / 397.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3633, allocations: 0 / 397.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.3633, allocations: 0.5625 kB / 397.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3634, allocations: 4.312 kB / 397.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3634, allocations: 0.6562 kB / 397.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3634, allocations: 0 / 397.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3634, allocations: 11.66 kB / 397.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.3635, allocations: 195.9 kB / 398 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.3636, allocations: 88.53 kB / 398.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.3636, allocations: 5.984 kB / 398.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.3637, allocations: 5.359 kB / 398.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.3637, allocations: 17.95 kB / 398.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.3638, allocations: 5.297 kB / 398.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.591e-05/0.3638, allocations: 93.59 kB / 398.2 MB, free: 44.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3638, allocations: 288 / 398.2 MB, free: 44.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.3641, allocations: 20.06 kB / 398.2 MB, free: 44.32 MB / 318.1 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) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * 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 (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.0001055/0.3642, allocations: 100.4 kB / 398.3 MB, free: 44.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.3644, allocations: 76.45 kB / 398.4 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3644, allocations: 0 / 398.4 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.3644, allocations: 23.03 kB / 398.4 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3648, allocations: 35.52 kB / 398.4 MB, free: 44.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.3651, allocations: 187.2 kB / 398.6 MB, free: 44.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.3653, allocations: 0.7004 MB / 399.3 MB, free: 43.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.3653, allocations: 11.44 kB / 399.3 MB, free: 43.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.3654, allocations: 12.61 kB / 399.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3654, allocations: 0 / 399.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of Templates: time 0.003058/0.3684, allocations: 0.8679 MB / 400.2 MB, free: 42.94 MB / 318.1 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)