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.001402/0.001402, allocations: 175.1 kB / 16.76 MB, free: 5.047 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.813/1.813, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007789/0.0007791, allocations: 97.22 kB / 271.3 MB, free: 8.223 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.09373/0.09373, allocations: 12.59 MB / 332.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004844, allocations: 12 kB / 392.6 MB, free: 66.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08666, allocations: 50.38 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001582/0.08831, allocations: 1.251 MB / 444.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.08896, allocations: 456.1 kB / 444.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.08904, allocations: 0 / 444.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.08907, allocations: 11.92 kB / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.08917, allocations: 0 / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.08945, allocations: 47.91 kB / 444.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.08955, allocations: 59.83 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.08968, allocations: 15.98 kB / 444.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.08973, allocations: 19.88 kB / 444.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.08979, allocations: 23.84 kB / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.08982, allocations: 4 kB / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.08984, allocations: 4 kB / 444.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.08986, allocations: 7.984 kB / 444.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.08991, allocations: 53.5 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.08999, allocations: 47.92 kB / 444.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.09, allocations: 0 / 444.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09001, allocations: 0 / 444.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.09002, allocations: 0 / 444.9 MB, free: 14.11 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.0004502/0.09047, allocations: 375.5 kB / 445.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.09051, allocations: 8.031 kB / 445.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.09055, allocations: 8.844 kB / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.09071, allocations: 184.3 kB / 445.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.09073, allocations: 8.375 kB / 445.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.09075, allocations: 8.312 kB / 445.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.09098, allocations: 137.3 kB / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.09099, allocations: 0 / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.09101, allocations: 4 kB / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.09102, allocations: 4 kB / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.095e-05/0.09109, allocations: 27.97 kB / 445.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.09144, allocations: 305.5 kB / 446 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.0916, allocations: 158.3 kB / 446.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.09166, allocations: 37.77 kB / 446.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.09168, allocations: 7.938 kB / 446.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.09182, allocations: 63.39 kB / 446.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.09183, allocations: 0 / 446.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000225/0.09206, allocations: 117.7 kB / 446.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.09211, allocations: 89.11 kB / 446.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.09218, allocations: 113.8 kB / 446.6 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.0922, allocations: 29.7 kB / 446.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.09224, allocations: 88.36 kB / 446.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.09226, allocations: 19.88 kB / 446.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.09227, allocations: 4 kB / 446.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.09232, allocations: 326.8 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.09238, allocations: 16 kB / 447 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.702e-05/0.09243, allocations: 77.81 kB / 447.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.616e-05/0.09251, allocations: 89.94 kB / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09252, allocations: 0 / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001316/0.09266, allocations: 117.4 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.09268, allocations: 4 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.09269, allocations: 4 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.09271, allocations: 0 / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.153e-05/0.09275, allocations: 8.141 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.09277, allocations: 8 kB / 447.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.09284, allocations: 19.84 kB / 447.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.09286, allocations: 8.062 kB / 447.4 MB, free: 11.37 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.757e-05/0.09293, allocations: 138.6 kB / 447.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.09299, allocations: 45.69 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.09302, allocations: 16.36 kB / 447.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.09303, allocations: 0 / 447.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.09304, allocations: 4 kB / 447.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.09305, allocations: 0 / 447.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.09328, allocations: 350.4 kB / 447.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.09329, allocations: 3.984 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.09331, allocations: 384 / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.09331, allocations: 4 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.09333, allocations: 0 / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.09333, allocations: 0 / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.09334, allocations: 15.81 kB / 447.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.09347, allocations: 196.3 kB / 448.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.0935, allocations: 84.95 kB / 448.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.09352, allocations: 11.94 kB / 448.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.09361, allocations: 7.984 kB / 448.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.09366, allocations: 11.92 kB / 448.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.09367, allocations: 4 kB / 448.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.164e-05/0.09371, allocations: 95.27 kB / 448.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09371, allocations: 0 / 448.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.09394, allocations: 16 kB / 448.4 MB, free: 10.28 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 8.711e-05/0.09403, allocations: 103.2 kB / 448.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.09417, allocations: 63.91 kB / 448.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.09418, allocations: 0 / 448.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.09423, allocations: 23.94 kB / 448.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.09455, allocations: 32.33 kB / 448.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.09487, allocations: 211.7 kB / 448.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.09503, allocations: 0.6926 MB / 449.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.09507, allocations: 15.44 kB / 449.5 MB, free: 9.074 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.09507, allocations: 0 / 449.5 MB, free: 9.074 MB / 298.7 MB Notification: Performance of Templates: time 0.002107/0.09718, allocations: 1.061 MB / 450.5 MB, free: 8.016 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)