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.001267/0.001267, allocations: 103.2 kB / 16.31 MB, free: 6.391 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.001257/0.001257, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.784/1.784, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.08729/0.08729, allocations: 12.59 MB / 283.1 MB, free: 15.49 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.002714/0.002714, allocations: 99.86 kB / 343.5 MB, free: 2.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3639, allocations: 49.38 MB / 392.9 MB, free: 49.19 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.003765/0.3677, allocations: 1.547 MB / 394.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.3686, allocations: 498.3 kB / 394.9 MB, free: 47.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.3687, allocations: 1.094 kB / 394.9 MB, free: 47.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.3688, allocations: 15.06 kB / 394.9 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.861e-05/0.3689, allocations: 5.156 kB / 394.9 MB, free: 47.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3692, allocations: 40.95 kB / 395 MB, free: 47.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3694, allocations: 68.58 kB / 395 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3695, allocations: 29.75 kB / 395.1 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.3696, allocations: 27.77 kB / 395.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.3697, allocations: 25.28 kB / 395.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.3697, allocations: 4.938 kB / 395.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.3697, allocations: 6.094 kB / 395.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.3698, allocations: 24.98 kB / 395.1 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.3699, allocations: 26.33 kB / 395.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.37, allocations: 58.17 kB / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.37, allocations: 0 / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.37, allocations: 5.062 kB / 395.2 MB, free: 47.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3701, allocations: 0 / 395.2 MB, free: 47.6 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.0006379/0.3707, allocations: 374.3 kB / 395.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.3708, allocations: 10 kB / 395.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.3708, allocations: 13.75 kB / 395.6 MB, free: 47.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.3711, allocations: 189.7 kB / 395.8 MB, free: 47.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3711, allocations: 7.625 kB / 395.8 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3712, allocations: 5.391 kB / 395.8 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.3716, allocations: 134.4 kB / 396 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.3716, allocations: 4 kB / 396 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3716, allocations: 1.188 kB / 396 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3716, allocations: 1.281 kB / 396 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.902e-05/0.3717, allocations: 31 kB / 396 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.3723, allocations: 302 kB / 396.3 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.3726, allocations: 159 kB / 396.4 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.3727, allocations: 34.22 kB / 396.5 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.3727, allocations: 6.906 kB / 396.5 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.373, allocations: 65 kB / 396.5 MB, free: 46.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/0.373, allocations: 0 / 396.5 MB, free: 46.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003377/0.3734, allocations: 123.2 kB / 396.7 MB, free: 46.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.3735, allocations: 82.33 kB / 396.7 MB, free: 46.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3736, allocations: 121.7 kB / 396.9 MB, free: 46.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.3736, allocations: 33.27 kB / 396.9 MB, free: 46.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.3737, allocations: 93.38 kB / 397 MB, free: 45.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3737, allocations: 17.41 kB / 397 MB, free: 45.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.3738, allocations: 32.53 kB / 397 MB, free: 45.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3739, allocations: 327.8 kB / 397.4 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.374, allocations: 17.31 kB / 397.4 MB, free: 45.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.374, allocations: 71.22 kB / 397.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3742, allocations: 90.53 kB / 397.5 MB, free: 45.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3742, allocations: 0 / 397.5 MB, free: 45.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002083/0.3744, allocations: 110.3 kB / 397.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3744, allocations: 5.812 kB / 397.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3744, allocations: 2.719 kB / 397.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.3745, allocations: 5.938 kB / 397.7 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.3745, allocations: 14.83 kB / 397.7 MB, free: 45.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3746, allocations: 2.641 kB / 397.7 MB, free: 45.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.3747, allocations: 19.34 kB / 397.7 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.3747, allocations: 5.375 kB / 397.7 MB, free: 45.35 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 0.0001188/0.3748, allocations: 125.6 kB / 397.8 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.3749, allocations: 55.02 kB / 397.9 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.3749, allocations: 9.828 kB / 397.9 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.375, allocations: 5.781 kB / 397.9 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.375, allocations: 1.781 kB / 397.9 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.375, allocations: 0.6562 kB / 397.9 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.3754, allocations: 343.7 kB / 398.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3754, allocations: 3.938 kB / 398.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.3754, allocations: 3.5 kB / 398.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3755, allocations: 1.344 kB / 398.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3755, allocations: 1.703 kB / 398.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3755, allocations: 1.141 kB / 398.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.3755, allocations: 13.67 kB / 398.2 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.3757, allocations: 201.4 kB / 398.4 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.3758, allocations: 88.72 kB / 398.5 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.3758, allocations: 13.47 kB / 398.5 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.3759, allocations: 4.156 kB / 398.5 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.376, allocations: 11.45 kB / 398.6 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.376, allocations: 10.12 kB / 398.6 MB, free: 44.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.163e-05/0.376, allocations: 95.77 kB / 398.7 MB, free: 44.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3761, allocations: 0 / 398.7 MB, free: 44.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3763, allocations: 16.66 kB / 398.7 MB, free: 44.43 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.000147/0.3765, allocations: 98.66 kB / 398.8 MB, free: 44.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.3767, allocations: 76.41 kB / 398.9 MB, free: 44.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3767, allocations: 1.375 kB / 398.9 MB, free: 44.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.3768, allocations: 17.09 kB / 398.9 MB, free: 44.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3771, allocations: 39.8 kB / 398.9 MB, free: 44.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.3775, allocations: 170.1 kB / 399.1 MB, free: 44.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.3777, allocations: 0.6989 MB / 399.8 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.536e-05/0.3777, allocations: 5.531 kB / 399.8 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.3777, allocations: 16.94 kB / 399.8 MB, free: 43.4 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3777, allocations: 0 / 399.8 MB, free: 43.4 MB / 318.1 MB Notification: Performance of Templates: time 0.004067/0.3818, allocations: 0.8931 MB / 400.7 MB, free: 42.97 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)