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.0007564/0.0007563, allocations: 101.9 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007671/0.000767, allocations: 182 kB / 16.96 MB, free: 6.875 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.21/1.21, allocations: 205.4 MB / 223.2 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06373/0.06373, allocations: 12.6 MB / 284 MB, free: 8.578 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.0006388/0.0006388, allocations: 16.84 kB / 345.1 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.074/0.07464, allocations: 50.4 MB / 395.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001544/0.07622, allocations: 1.259 MB / 396.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006462/0.07688, allocations: 479.8 kB / 397.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.07696, allocations: 4 kB / 397.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.07699, allocations: 3.938 kB / 397.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.07706, allocations: 7.938 kB / 397.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.07732, allocations: 39.95 kB / 397.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.551e-05/0.07741, allocations: 59.78 kB / 397.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.07752, allocations: 19.98 kB / 397.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.07756, allocations: 19.86 kB / 397.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.07762, allocations: 23.86 kB / 397.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.07764, allocations: 0 / 397.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.07765, allocations: 4 kB / 397.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.07768, allocations: 19.91 kB / 397.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.07775, allocations: 53.58 kB / 397.5 MB, free: 432 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.352e-05/0.07784, allocations: 56 kB / 397.6 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.07785, allocations: 0 / 397.6 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.07785, allocations: 0 / 397.6 MB, free: 376 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.07786, allocations: 3.938 kB / 397.6 MB, free: 372 kB / 286.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.0004507/0.07832, allocations: 371.3 kB / 397.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.07835, allocations: 12.03 kB / 398 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.07839, allocations: 8.844 kB / 398 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.07856, allocations: 200.1 kB / 398.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.07858, allocations: 4.375 kB / 398.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.0786, allocations: 12.38 kB / 398.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.07884, allocations: 137.2 kB / 398.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.07885, allocations: 0 / 398.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.07887, allocations: 4 kB / 398.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.07888, allocations: 4 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.07894, allocations: 23.98 kB / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.07933, allocations: 305.5 kB / 398.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.07953, allocations: 162.2 kB / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.07959, allocations: 33.83 kB / 398.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.07962, allocations: 0 / 398.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.07977, allocations: 71.33 kB / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.07978, allocations: 0 / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002052/0.07999, allocations: 113.5 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.08005, allocations: 85.09 kB / 399.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.08014, allocations: 117.8 kB / 399.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.08016, allocations: 33.7 kB / 399.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.08021, allocations: 88.44 kB / 399.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.08024, allocations: 23.73 kB / 399.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.08027, allocations: 21.72 kB / 399.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.08037, allocations: 322.8 kB / 399.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.08041, allocations: 27.98 kB / 399.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.08048, allocations: 62 kB / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.08058, allocations: 81.95 kB / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.08059, allocations: 7.938 kB / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001585/0.08075, allocations: 121.6 kB / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.08077, allocations: 4 kB / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.08078, allocations: 4 kB / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.0808, allocations: 4.188 kB / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.08085, allocations: 8 kB / 400 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.08086, allocations: 11.88 kB / 400 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.08094, allocations: 15.89 kB / 400 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.08096, allocations: 8 kB / 400 MB, free: 13.59 MB / 302.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.444e-05/0.08104, allocations: 121.8 kB / 400.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.08111, allocations: 49.62 kB / 400.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.08114, allocations: 16.38 kB / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.08115, allocations: 4 kB / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.08116, allocations: 0 / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.08117, allocations: 0 / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.08145, allocations: 350.3 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.08146, allocations: 0 / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.08148, allocations: 7.938 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.08149, allocations: 0 / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.0815, allocations: 8.438 kB / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.08151, allocations: 4 kB / 400.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.08152, allocations: 3.938 kB / 400.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.08168, allocations: 196.3 kB / 400.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.08174, allocations: 96.88 kB / 400.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.08176, allocations: 0 / 400.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.08185, allocations: 8 kB / 400.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.0819, allocations: 19.86 kB / 400.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.08191, allocations: 4 kB / 400.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.174e-05/0.08196, allocations: 91.27 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08196, allocations: 0 / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.08219, allocations: 16 kB / 401 MB, free: 12.5 MB / 302.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 8.891e-05/0.08229, allocations: 95.25 kB / 401.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.08242, allocations: 67.91 kB / 401.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08243, allocations: 0 / 401.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.08248, allocations: 24.25 kB / 401.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.08278, allocations: 32.3 kB / 401.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.08309, allocations: 193.9 kB / 401.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.08332, allocations: 0.6965 MB / 402.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.939e-05/0.08335, allocations: 8.422 kB / 402.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.08339, allocations: 19.44 kB / 402.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.08339, allocations: 0 / 402.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Templates: time 0.002586/0.08598, allocations: 0.7982 MB / 402.9 MB, free: 10.51 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: