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/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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002831/0.002836, allocations: 181.1 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.2 MB / 219 MB, free: 9.203 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.001239/0.001238, allocations: 93.84 kB / 267.1 MB, free: 9.27 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.1096/0.1096, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.586e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 50.38 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.567, allocations: 78.27 MB / 0.5027 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5673, allocations: 64.23 kB / 0.5027 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005167/0.5725, allocations: 1.337 MB / 0.504 GB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5726, allocations: 0 / 0.504 GB, free: 11.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.5726, allocations: 0 / 0.504 GB, free: 11.6 MB / 330.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.000472/0.5731, allocations: 369.5 kB / 0.5044 GB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5732, allocations: 7.531 kB / 0.5044 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.5732, allocations: 42.38 kB / 0.5044 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.5733, allocations: 7.875 kB / 0.5045 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.5735, allocations: 183.6 kB / 0.5046 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5735, allocations: 7.734 kB / 0.5046 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.5735, allocations: 7.156 kB / 0.5046 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.5739, allocations: 130.2 kB / 0.5048 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5739, allocations: 3.938 kB / 0.5048 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.5739, allocations: 3.672 kB / 0.5048 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5739, allocations: 7.828 kB / 0.5048 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.574, allocations: 27.5 kB / 0.5048 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.5745, allocations: 297.8 kB / 0.5051 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.5747, allocations: 157 kB / 0.5052 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/0.5748, allocations: 33.94 kB / 0.5053 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.5749, allocations: 0 / 0.5053 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.575, allocations: 73.59 kB / 0.5053 GB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.5751, allocations: 0 / 0.5053 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002746/0.5753, allocations: 93.47 kB / 0.5054 GB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.5754, allocations: 84.86 kB / 0.5055 GB, free: 10.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.5755, allocations: 117.1 kB / 0.5056 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.5755, allocations: 29.58 kB / 0.5057 GB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.5756, allocations: 90.95 kB / 0.5057 GB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.5756, allocations: 18.53 kB / 0.5058 GB, free: 10.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.5756, allocations: 3.562 kB / 0.5058 GB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.5757, allocations: 325 kB / 0.5061 GB, free: 9.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.5758, allocations: 18.44 kB / 0.5061 GB, free: 9.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.5759, allocations: 66.19 kB / 0.5062 GB, free: 9.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/0.576, allocations: 25.92 kB / 0.5062 GB, free: 9.676 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.576, allocations: 3.938 kB / 0.5062 GB, free: 9.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002243/0.5762, allocations: 116.9 kB / 0.5063 GB, free: 9.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5763, allocations: 7.75 kB / 0.5063 GB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5763, allocations: 4.078 kB / 0.5063 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5763, allocations: 3.875 kB / 0.5063 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.295e-05/0.5764, allocations: 3.875 kB / 0.5063 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5764, allocations: 15.06 kB / 0.5063 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.5765, allocations: 3.906 kB / 0.5063 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.5766, allocations: 11.06 kB / 0.5063 GB, free: 9.617 MB / 330.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 () * 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 7.881e-05/0.5766, allocations: 115.7 kB / 0.5065 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.5768, allocations: 68.95 kB / 0.5065 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.5768, allocations: 8.062 kB / 0.5065 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5768, allocations: 0 / 0.5065 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.5768, allocations: 7.781 kB / 0.5065 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5769, allocations: 0 / 0.5065 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.5772, allocations: 339.4 kB / 0.5069 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5773, allocations: 0 / 0.5069 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.5773, allocations: 11.08 kB / 0.5069 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5773, allocations: 0 / 0.5069 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5773, allocations: 0 / 0.5069 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5773, allocations: 7.75 kB / 0.5069 GB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5773, allocations: 0 / 0.5069 GB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.5776, allocations: 211 kB / 0.5071 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.5776, allocations: 84.16 kB / 0.5072 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.5777, allocations: 3.844 kB / 0.5072 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.5778, allocations: 12.73 kB / 0.5072 GB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.5779, allocations: 14.25 kB / 0.5072 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.5779, allocations: 3.844 kB / 0.5072 GB, free: 8.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.935e-05/0.5779, allocations: 92.14 kB / 0.5073 GB, free: 8.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.578, allocations: 0 / 0.5073 GB, free: 8.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.5783, allocations: 18.47 kB / 0.5073 GB, free: 8.793 MB / 330.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) * 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.0005133/0.5788, allocations: 0.8347 MB / 0.5081 GB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.579, allocations: 64.84 kB / 0.5082 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.579, allocations: 0 / 0.5082 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.123e-05/0.5791, allocations: 22.72 kB / 0.5082 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.5794, allocations: 30.52 kB / 0.5082 GB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.58, allocations: 166 kB / 0.5084 GB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.5802, allocations: 0.6932 MB / 0.5091 GB, free: 7.195 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.039e-05/0.5802, allocations: 7.625 kB / 0.5091 GB, free: 7.195 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.5803, allocations: 25.03 kB / 0.5091 GB, free: 7.188 MB / 330.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5803, allocations: 3.938 kB / 0.5091 GB, free: 7.184 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.6029, allocations: 1.792 MB / 0.5108 GB, free: 6.582 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.6032, allocations: 182.3 kB / 0.511 GB, free: 6.355 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.207, allocations: 7.906 kB / 0.511 GB, free: 6.348 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)