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.001299/0.001299, allocations: 110.4 kB / 16.45 MB, free: 6.43 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.00114/0.00114, allocations: 186.9 kB / 17.39 MB, free: 5.676 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.903/1.903, allocations: 205.1 MB / 223.3 MB, free: 12.23 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.08965/0.08965, allocations: 12.6 MB / 283.2 MB, free: 15.4 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.001767/0.001767, allocations: 86.31 kB / 394.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1268, allocations: 49.4 MB / 443.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.003506/0.1304, allocations: 1.544 MB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1316, allocations: 499.6 kB / 445.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1317, allocations: 0 / 445.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/0.1318, allocations: 3.938 kB / 445.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1319, allocations: 19.86 kB / 445.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1323, allocations: 39.91 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1325, allocations: 59.78 kB / 445.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.1327, allocations: 35.88 kB / 445.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.1328, allocations: 31.86 kB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.1329, allocations: 27.84 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.1329, allocations: 12 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.1329, allocations: 4 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.133, allocations: 11.94 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.1331, allocations: 35.78 kB / 445.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1333, allocations: 55.81 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.1333, allocations: 4 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.223e-06/0.1333, allocations: 3.984 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1333, allocations: 0 / 445.9 MB, free: 14.13 MB / 334.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.0009876/0.1343, allocations: 379.2 kB / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.1344, allocations: 16.03 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.1345, allocations: 8.844 kB / 446.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.1349, allocations: 192.1 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1349, allocations: 4.375 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.135, allocations: 8.375 kB / 446.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.1354, allocations: 141.2 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1354, allocations: 0 / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1354, allocations: 0 / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.1355, allocations: 4 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.1355, allocations: 27.92 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/0.1362, allocations: 293.6 kB / 447 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.1364, allocations: 162.2 kB / 447.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.1365, allocations: 33.83 kB / 447.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1365, allocations: 8.062 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.1367, allocations: 63.39 kB / 447.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.1367, allocations: 4 kB / 447.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002746/0.137, allocations: 113.7 kB / 447.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.1371, allocations: 81.11 kB / 447.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1372, allocations: 125.7 kB / 447.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1372, allocations: 33.7 kB / 447.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.1373, allocations: 84.38 kB / 447.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1373, allocations: 23.73 kB / 447.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1374, allocations: 33.7 kB / 447.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1376, allocations: 326.8 kB / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.1376, allocations: 20 kB / 448.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.1377, allocations: 65.98 kB / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1378, allocations: 93.88 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1379, allocations: 4 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001784/0.138, allocations: 113.5 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1381, allocations: 4.156 kB / 448.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1381, allocations: 8 kB / 448.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1381, allocations: 4 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.1382, allocations: 15.92 kB / 448.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1382, allocations: 0 / 448.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.1383, allocations: 11.91 kB / 448.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1383, allocations: 7.984 kB / 448.4 MB, free: 11.35 MB / 334.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.0002437/0.1385, allocations: 129.7 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.1386, allocations: 50 kB / 448.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.1387, allocations: 16.38 kB / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1387, allocations: 4 kB / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1387, allocations: 0 / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1387, allocations: 3.938 kB / 448.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.1392, allocations: 346.7 kB / 448.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1392, allocations: 0 / 448.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.1392, allocations: 3.938 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1392, allocations: 4 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1392, allocations: 0 / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1392, allocations: 0 / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1393, allocations: 11.94 kB / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1395, allocations: 200.3 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.1396, allocations: 89.02 kB / 449.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1396, allocations: 3.984 kB / 449.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.1397, allocations: 7.938 kB / 449.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.1398, allocations: 15.92 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1398, allocations: 8 kB / 449.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.1398, allocations: 91.27 kB / 449.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1398, allocations: 0 / 449.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.1402, allocations: 16 kB / 449.4 MB, free: 10.26 MB / 334.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.0001354/0.1403, allocations: 99.33 kB / 449.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1405, allocations: 75.83 kB / 449.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1406, allocations: 0 / 449.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/0.1406, allocations: 16.31 kB / 449.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.141, allocations: 36.14 kB / 449.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.1414, allocations: 178.9 kB / 449.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1418, allocations: 0.6924 MB / 450.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.1419, allocations: 8.422 kB / 450.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.1419, allocations: 15.44 kB / 450.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1419, allocations: 4 kB / 450.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of Templates: time 0.004446/0.1464, allocations: 0.9355 MB / 451.4 MB, free: 8.145 MB / 334.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)