Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001986/0.001986, allocations: 173.5 kB / 16.8 MB, free: 5.008 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 223 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007574/0.0007575, allocations: 82.36 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08805/0.08805, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003994, allocations: 20 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.0957, allocations: 50.37 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.002408/0.09816, allocations: 1.595 MB / 445.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.09991, allocations: 0.9988 MB / 446.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1001, allocations: 3.938 kB / 446.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.1005, allocations: 63.78 kB / 446.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.1008, allocations: 83.77 kB / 446.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.1016, allocations: 207.6 kB / 446.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1019, allocations: 171.5 kB / 446.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.102, allocations: 33.55 kB / 446.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1022, allocations: 63.64 kB / 446.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1024, allocations: 87.61 kB / 447 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.1024, allocations: 0 / 447 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.1026, allocations: 59.95 kB / 447 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.1027, allocations: 43.83 kB / 447.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.1028, allocations: 105.1 kB / 447.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1031, allocations: 179.9 kB / 447.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1031, allocations: 0 / 447.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1031, allocations: 0 / 447.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1031, allocations: 0 / 447.4 MB, free: 11.73 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006942/0.1038, allocations: 0.5001 MB / 447.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1038, allocations: 8.031 kB / 447.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.1039, allocations: 20.75 kB / 447.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1042, allocations: 286.6 kB / 448.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1043, allocations: 12.38 kB / 448.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1043, allocations: 12.12 kB / 448.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.1047, allocations: 174.6 kB / 448.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1047, allocations: 0 / 448.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1047, allocations: 11.98 kB / 448.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1048, allocations: 4 kB / 448.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1049, allocations: 47.91 kB / 448.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.1056, allocations: 401.5 kB / 448.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1059, allocations: 133.3 kB / 448.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.106, allocations: 45.7 kB / 449 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.1061, allocations: 11.91 kB / 449 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.1064, allocations: 95.31 kB / 449.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.073e-06/0.1064, allocations: 0 / 449.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000474/0.1069, allocations: 181.3 kB / 449.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.107, allocations: 136.5 kB / 449.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.1074, allocations: 324.9 kB / 449.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1074, allocations: 37.69 kB / 449.8 MB, free: 9.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.1075, allocations: 128 kB / 449.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1076, allocations: 35.64 kB / 449.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.1076, allocations: 0 / 449.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1077, allocations: 338.8 kB / 450.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.1078, allocations: 35.92 kB / 450.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1079, allocations: 112.6 kB / 450.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1081, allocations: 121.9 kB / 450.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1081, allocations: 4 kB / 450.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003117/0.1085, allocations: 169.2 kB / 450.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1085, allocations: 8.938 kB / 450.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1085, allocations: 0 / 450.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1085, allocations: 4 kB / 450.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1087, allocations: 23.92 kB / 450.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1087, allocations: 7.938 kB / 450.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.645e-05/0.1088, allocations: 8 kB / 450.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1088, allocations: 12.16 kB / 450.7 MB, free: 8 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition2,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition1,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 (19): * Single equations (assignments): 19 * 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.0001381/0.109, allocations: 163.9 kB / 450.9 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.1091, allocations: 61.42 kB / 451 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.1091, allocations: 29.7 kB / 451 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1091, allocations: 0 / 451 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1091, allocations: 4.312 kB / 451 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1092, allocations: 0 / 451 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.1097, allocations: 482.2 kB / 451.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1097, allocations: 4 kB / 451.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/0.1097, allocations: 11.94 kB / 451.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1097, allocations: 3.938 kB / 451.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1098, allocations: 7.984 kB / 451.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1098, allocations: 0 / 451.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1098, allocations: 0 / 451.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.11, allocations: 252.6 kB / 451.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.1101, allocations: 108.8 kB / 451.8 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1101, allocations: 11.88 kB / 451.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1103, allocations: 8.109 kB / 451.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.1103, allocations: 11.98 kB / 451.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1104, allocations: 12 kB / 451.9 MB, free: 6.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000182/0.1105, allocations: 236.4 kB / 452.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1105, allocations: 0 / 452.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.1109, allocations: 43.94 kB / 452.2 MB, free: 6.469 MB / 298.7 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.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,triggeredBooleanSampler.y,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 3 (integerTable.combiTimeTable.nextTimeEvent,ClockedSignalToTrigger.y3,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009266/0.1118, allocations: 418.5 kB / 452.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1121, allocations: 107.8 kB / 452.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1121, allocations: 0 / 452.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.1122, allocations: 35.98 kB / 452.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.1126, allocations: 68.61 kB / 452.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.1133, allocations: 465.6 kB / 453.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.1135, allocations: 0.7362 MB / 454 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.1136, allocations: 31.42 kB / 454 MB, free: 4.566 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1136, allocations: 3.938 kB / 454 MB, free: 4.562 MB / 298.7 MB Notification: Performance of Templates: time 0.00525/0.1188, allocations: 3.068 MB / 457.1 MB, free: 1.488 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe 2>&1)