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.001426/0.001426, allocations: 181.2 kB / 8.409 MB, free: 0.668 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.3 MB / 214.1 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 78.72 kB / 262.1 MB, free: 1.695 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.09954/0.09954, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.101e-05, allocations: 4 kB / 378.9 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 50.37 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4568, allocations: 77.61 MB / 0.495 GB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4571, allocations: 63.95 kB / 0.4951 GB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005717/0.4628, allocations: 1.342 MB / 0.4964 GB, free: 3.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.4629, allocations: 0 / 0.4964 GB, free: 3.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.4629, allocations: 4 kB / 0.4964 GB, free: 3.305 MB / 346.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.0005338/0.4634, allocations: 354.4 kB / 0.4967 GB, free: 2.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4635, allocations: 16.03 kB / 0.4967 GB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.4636, allocations: 7.906 kB / 0.4967 GB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.4638, allocations: 186.9 kB / 0.4969 GB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4639, allocations: 3.953 kB / 0.4969 GB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.4639, allocations: 8 kB / 0.4969 GB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000128/0.464, allocations: 24 kB / 0.497 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.4643, allocations: 121 kB / 0.4971 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4644, allocations: 0 / 0.4971 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4644, allocations: 0 / 0.4971 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.4644, allocations: 4 kB / 0.4971 GB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.4649, allocations: 266.1 kB / 0.4973 GB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.4652, allocations: 154.3 kB / 0.4975 GB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.4653, allocations: 33.84 kB / 0.4975 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.4653, allocations: 0 / 0.4975 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.4655, allocations: 71.42 kB / 0.4976 GB, free: 1.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.4655, allocations: 4 kB / 0.4976 GB, free: 1.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002856/0.4658, allocations: 89.62 kB / 0.4977 GB, free: 1.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.4659, allocations: 85.05 kB / 0.4977 GB, free: 1.684 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.4661, allocations: 112.9 kB / 0.4979 GB, free: 1.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.4661, allocations: 25.7 kB / 0.4979 GB, free: 1.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.4662, allocations: 158.7 kB / 0.498 GB, free: 1.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.4662, allocations: 11.81 kB / 0.498 GB, free: 1.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.4663, allocations: 4.375 kB / 0.498 GB, free: 1.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4664, allocations: 326.8 kB / 0.4984 GB, free: 1.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.4665, allocations: 16 kB / 0.4984 GB, free: 1.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.4666, allocations: 58.02 kB / 0.4984 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.095e-05/0.4667, allocations: 35.86 kB / 0.4985 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4667, allocations: 0 / 0.4985 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000266/0.467, allocations: 89.61 kB / 0.4985 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.467, allocations: 8 kB / 0.4986 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.467, allocations: 0 / 0.4986 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4671, allocations: 4 kB / 0.4986 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.4671, allocations: 7.938 kB / 0.4986 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4672, allocations: 4 kB / 0.4986 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4673, allocations: 12.14 kB / 0.4986 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4673, allocations: 4 kB / 0.4986 GB, free: 0.7695 MB / 346.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 0.0001159/0.4675, allocations: 120.9 kB / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4676, allocations: 49.59 kB / 0.4987 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.4676, allocations: 8.625 kB / 0.4988 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4677, allocations: 4 kB / 0.4988 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4677, allocations: 0 / 0.4988 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4677, allocations: 0 / 0.4988 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.4681, allocations: 311 kB / 0.4991 GB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4682, allocations: 0 / 0.4991 GB, free: 240 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.4682, allocations: 11.98 kB / 0.4991 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4682, allocations: 0 / 0.4991 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4682, allocations: 0 / 0.4991 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4682, allocations: 4 kB / 0.4991 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4683, allocations: 0 / 0.4991 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.4686, allocations: 213.8 kB / 0.4993 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.4686, allocations: 85.02 kB / 0.4994 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.4687, allocations: 0 / 0.4994 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4688, allocations: 11.94 kB / 0.4994 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.4689, allocations: 7.984 kB / 0.4994 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4689, allocations: 8.062 kB / 0.4994 GB, free: 15.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.469, allocations: 87.28 kB / 0.4995 GB, free: 15.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.469, allocations: 4 kB / 0.4995 GB, free: 15.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.4694, allocations: 12 kB / 0.4995 GB, free: 15.75 MB / 362.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.0001432/0.4695, allocations: 103.4 kB / 0.4996 GB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.4697, allocations: 56.16 kB / 0.4996 GB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4698, allocations: 0 / 0.4996 GB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.4699, allocations: 24 kB / 0.4997 GB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4702, allocations: 31.91 kB / 0.4997 GB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.4706, allocations: 154.6 kB / 0.4998 GB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.471, allocations: 0.6924 MB / 0.5005 GB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.4711, allocations: 11.44 kB / 0.5005 GB, free: 14.62 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4711, allocations: 0 / 0.5005 GB, free: 14.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003502/0.4746, allocations: 1.017 MB / 0.5015 GB, free: 13.61 MB / 362.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)