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.001143/0.001143, allocations: 100.3 kB / 15.73 MB, free: 436 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.001413/0.001413, allocations: 175.7 kB / 16.61 MB, free: 6.562 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.74/1.74, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.0967/0.0967, allocations: 12.6 MB / 283.6 MB, free: 8.695 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.0007353/0.0007354, allocations: 16 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1159, allocations: 50.39 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001655/0.1176, allocations: 1.241 MB / 396.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006948/0.1183, allocations: 472 kB / 396.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.1184, allocations: 4 kB / 396.6 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.1184, allocations: 3.938 kB / 396.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.1185, allocations: 8 kB / 396.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1188, allocations: 39.88 kB / 396.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.27e-05/0.1189, allocations: 35.97 kB / 396.7 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.119, allocations: 23.95 kB / 396.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.119, allocations: 15.94 kB / 396.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.1191, allocations: 23.84 kB / 396.7 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1191, allocations: 7.938 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.1191, allocations: 0 / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.1191, allocations: 15.92 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1192, allocations: 37.7 kB / 396.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.975e-05/0.1193, allocations: 40.2 kB / 396.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.1193, allocations: 0 / 396.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1193, allocations: 0 / 396.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.1193, allocations: 0 / 396.8 MB, free: 0.8125 MB / 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.000505/0.1198, allocations: 371 kB / 397.2 MB, free: 412 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1198, allocations: 11.97 kB / 397.2 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.1199, allocations: 11.91 kB / 397.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1201, allocations: 183 kB / 397.4 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1201, allocations: 11.94 kB / 397.4 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1201, allocations: 4 kB / 397.4 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.1204, allocations: 137 kB / 397.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1204, allocations: 4 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1204, allocations: 0 / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1205, allocations: 4 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.846e-05/0.1205, allocations: 27.92 kB / 397.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.121, allocations: 289.7 kB / 397.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1212, allocations: 166.3 kB / 398 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1212, allocations: 0 / 398 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.1214, allocations: 75.44 kB / 398.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1214, allocations: 0 / 398.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002408/0.1216, allocations: 113.6 kB / 398.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.1217, allocations: 89.05 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.1218, allocations: 129.7 kB / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1218, allocations: 25.7 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.1219, allocations: 84.38 kB / 398.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1219, allocations: 23.78 kB / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.1219, allocations: 4 kB / 398.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.122, allocations: 322.8 kB / 398.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.1221, allocations: 19.98 kB / 398.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.1222, allocations: 77.88 kB / 399 MB, free: 14.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.1222, allocations: 23.94 kB / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1222, allocations: 3.938 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001553/0.1224, allocations: 117.5 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1224, allocations: 9.25 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1224, allocations: 3.984 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1224, allocations: 4 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.1225, allocations: 7.938 kB / 399.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1225, allocations: 0 / 399.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.756e-05/0.1226, allocations: 15.98 kB / 399.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1226, allocations: 8.156 kB / 399.2 MB, free: 14.2 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1227, allocations: 129.6 kB / 399.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.1228, allocations: 57.53 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.1228, allocations: 8.375 kB / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1228, allocations: 0 / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1228, allocations: 4 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1228, allocations: 0 / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.1232, allocations: 346.4 kB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1232, allocations: 4 kB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.1232, allocations: 4 kB / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1232, allocations: 0 / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1232, allocations: 4 kB / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1232, allocations: 0 / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1232, allocations: 0 / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1234, allocations: 213.9 kB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.1235, allocations: 96.89 kB / 400 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1235, allocations: 3.984 kB / 400 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.1236, allocations: 8.375 kB / 400 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1237, allocations: 16.22 kB / 400 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1237, allocations: 0 / 400 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.783e-05/0.1237, allocations: 95.2 kB / 400.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1237, allocations: 0 / 400.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.124, allocations: 20 kB / 400.2 MB, free: 13.09 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 (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.0001164/0.1241, allocations: 99.3 kB / 400.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1242, allocations: 79.83 kB / 400.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1243, allocations: 0 / 400.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.1243, allocations: 20 kB / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1246, allocations: 24.02 kB / 400.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.1249, allocations: 190.2 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1252, allocations: 0.7043 MB / 401.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.113e-05/0.1252, allocations: 4.438 kB / 401.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.1252, allocations: 19.42 kB / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1253, allocations: 0 / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Templates: time 0.003214/0.1285, allocations: 0.7627 MB / 402.1 MB, free: 11.13 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: