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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.001235/0.001235, allocations: 173.7 kB / 16.76 MB, free: 5.051 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.336/1.336, allocations: 205 MB / 222.6 MB, free: 9.141 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.000793/0.000793, allocations: 86.3 kB / 270.5 MB, free: 8.66 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.07053/0.07053, allocations: 12.56 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003775, allocations: 15.98 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07218/0.07258, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001391/0.074, allocations: 1.27 MB / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006208/0.07464, allocations: 495.7 kB / 443.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.07475, allocations: 0 / 443.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.0748, allocations: 3.938 kB / 443.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.07488, allocations: 7.938 kB / 443.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.07515, allocations: 39.95 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.074e-05/0.07524, allocations: 59.78 kB / 443.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.07535, allocations: 23.97 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.07539, allocations: 23.92 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.07545, allocations: 23.8 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.07547, allocations: 4 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.07549, allocations: 0 / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.07551, allocations: 19.91 kB / 443.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.07555, allocations: 19.88 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.501e-05/0.07562, allocations: 44.14 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.07563, allocations: 7.938 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.07564, allocations: 0 / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.07565, allocations: 0 / 443.7 MB, free: 14.34 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.0003964/0.07605, allocations: 367.3 kB / 444.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.07609, allocations: 8.031 kB / 444.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.07613, allocations: 8.844 kB / 444.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.07628, allocations: 196.1 kB / 444.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.0763, allocations: 12.38 kB / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.07632, allocations: 8.359 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.07655, allocations: 133.3 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.07657, allocations: 0 / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.07658, allocations: 4 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.0766, allocations: 3.984 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.07666, allocations: 24 kB / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.077, allocations: 301.5 kB / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.07715, allocations: 158.3 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.0772, allocations: 37.78 kB / 444.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.07723, allocations: 7.984 kB / 444.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.07737, allocations: 67.45 kB / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.07738, allocations: 0 / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002105/0.07759, allocations: 113.7 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.07764, allocations: 89.09 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.013e-05/0.07771, allocations: 113.8 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.07773, allocations: 25.7 kB / 445.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.07776, allocations: 96.36 kB / 445.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.07779, allocations: 23.73 kB / 445.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.07782, allocations: 25.7 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.07787, allocations: 326.8 kB / 445.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.07791, allocations: 12 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-05/0.07797, allocations: 71.77 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.061e-05/0.07805, allocations: 89.94 kB / 446 MB, free: 11.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.07806, allocations: 0 / 446 MB, free: 11.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000141/0.07821, allocations: 121.4 kB / 446.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.07823, allocations: 8 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.07825, allocations: 0 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.07827, allocations: 7.938 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.07832, allocations: 7.984 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.07833, allocations: 384 / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.07841, allocations: 15.91 kB / 446.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.07843, allocations: 4.156 kB / 446.1 MB, free: 11.59 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 (triggeredBooleanSampler.y,$PRE.triggeredBooleanSampler.y,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y3,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y,$whenCondition2,$CLKPRE.ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.0785, allocations: 134.6 kB / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.07856, allocations: 53.62 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.07859, allocations: 12.36 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.0786, allocations: 4 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.07861, allocations: 0 / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.07862, allocations: 0 / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.07885, allocations: 350.6 kB / 446.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.07886, allocations: 8 kB / 446.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.07888, allocations: 7.984 kB / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.07889, allocations: 0 / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.0789, allocations: 12 kB / 446.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.07891, allocations: 0 / 446.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.07892, allocations: 3.938 kB / 446.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.07906, allocations: 200.2 kB / 446.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.07909, allocations: 81.02 kB / 447 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.07911, allocations: 12 kB / 447 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.07921, allocations: 7.984 kB / 447 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.07926, allocations: 11.92 kB / 447 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.07927, allocations: 4 kB / 447 MB, free: 10.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.024e-05/0.0793, allocations: 87.28 kB / 447.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07931, allocations: 0 / 447.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.07954, allocations: 19.98 kB / 447.1 MB, free: 10.49 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.398e-05/0.07962, allocations: 111.3 kB / 447.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.07976, allocations: 59.92 kB / 447.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.07977, allocations: 0 / 447.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.017e-05/0.07981, allocations: 23.92 kB / 447.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.08013, allocations: 36.06 kB / 447.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.08051, allocations: 218.6 kB / 447.6 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.08067, allocations: 0.6926 MB / 448.3 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.08071, allocations: 11.44 kB / 448.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.08072, allocations: 0 / 448.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of Templates: time 0.002301/0.08302, allocations: 1.075 MB / 449.3 MB, free: 8.207 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)