Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009297/0.0009297, allocations: 182.8 kB / 16.45 MB, free: 5.656 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.471/1.471, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007633/0.0007633, allocations: 95.95 kB / 270.9 MB, free: 8.355 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.07435/0.07435, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004543, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0805/0.08097, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001279/0.08228, allocations: 1.239 MB / 443.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005203/0.08281, allocations: 488 kB / 444.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.08287, allocations: 0 / 444.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.0829, allocations: 7.922 kB / 444.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.08296, allocations: 7.938 kB / 444.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.08317, allocations: 27.97 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.95e-05/0.08326, allocations: 67.77 kB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.339e-05/0.08334, allocations: 19.98 kB / 444.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.67e-05/0.08337, allocations: 15.92 kB / 444.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.08342, allocations: 23.86 kB / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.08344, allocations: 4 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.08345, allocations: 0 / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.08347, allocations: 19.91 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.0835, allocations: 33.7 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.108e-05/0.08355, allocations: 35.94 kB / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.08356, allocations: 0 / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.08357, allocations: 0 / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.08358, allocations: 0 / 444.3 MB, free: 14.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000329/0.08391, allocations: 383.2 kB / 444.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.599e-05/0.08395, allocations: 8.031 kB / 444.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.08398, allocations: 7.906 kB / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.0841, allocations: 190.9 kB / 444.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.08412, allocations: 4 kB / 444.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.08414, allocations: 8 kB / 444.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.08432, allocations: 140.8 kB / 445.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.08434, allocations: 0 / 445.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.08435, allocations: 4 kB / 445.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-06/0.08436, allocations: 0 / 445.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/0.08441, allocations: 27.92 kB / 445.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.08468, allocations: 297.7 kB / 445.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.08481, allocations: 154.2 kB / 445.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.08486, allocations: 33.83 kB / 445.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.08488, allocations: 8 kB / 445.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.08499, allocations: 71.39 kB / 445.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.085, allocations: 0 / 445.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001717/0.08518, allocations: 109.6 kB / 445.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.08522, allocations: 89.03 kB / 445.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.08528, allocations: 121.7 kB / 446 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.08529, allocations: 37.7 kB / 446 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.08532, allocations: 84.38 kB / 446.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.08534, allocations: 23.78 kB / 446.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.08535, allocations: 0 / 446.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.0854, allocations: 318.8 kB / 446.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.08543, allocations: 19.98 kB / 446.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.08549, allocations: 69.94 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.08553, allocations: 27.94 kB / 446.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.08554, allocations: 384 / 446.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001319/0.08568, allocations: 121.5 kB / 446.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.0857, allocations: 13.08 kB / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.0857, allocations: 4 kB / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.08572, allocations: 3.938 kB / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.08576, allocations: 11.94 kB / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.08577, allocations: 0 / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.08585, allocations: 19.86 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.08586, allocations: 11.95 kB / 446.7 MB, free: 11.79 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: 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 6.194e-05/0.08593, allocations: 126.7 kB / 446.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.08599, allocations: 61.53 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.08602, allocations: 12.38 kB / 446.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.08602, allocations: 0 / 446.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.08603, allocations: 0 / 446.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.08604, allocations: 4 kB / 446.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.08626, allocations: 342.7 kB / 447.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.08627, allocations: 0 / 447.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.08629, allocations: 4 kB / 447.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.0863, allocations: 0 / 447.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.08631, allocations: 8 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.08632, allocations: 4 kB / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.08632, allocations: 0 / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.08644, allocations: 192.4 kB / 447.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.08648, allocations: 96.88 kB / 447.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.0865, allocations: 3.938 kB / 447.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.08659, allocations: 16 kB / 447.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.08662, allocations: 3.984 kB / 447.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.08663, allocations: 4 kB / 447.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.921e-05/0.08666, allocations: 95.22 kB / 447.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08667, allocations: 0 / 447.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.08688, allocations: 16 kB / 447.7 MB, free: 10.71 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.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 7.694e-05/0.08696, allocations: 95.25 kB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.0871, allocations: 80.06 kB / 447.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.08711, allocations: 4.062 kB / 447.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.08715, allocations: 16 kB / 447.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.08746, allocations: 36.34 kB / 447.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.08776, allocations: 219.5 kB / 448.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.08788, allocations: 0.7004 MB / 448.8 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.08791, allocations: 15.44 kB / 448.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.08792, allocations: 0 / 448.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of Templates: time 0.001926/0.08985, allocations: 1.056 MB / 449.9 MB, free: 8.434 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)