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.001104/0.001104, allocations: 172.8 kB / 16.8 MB, free: 5.012 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.589/1.589, allocations: 205.4 MB / 223 MB, free: 9.02 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.000754/0.000754, allocations: 90.36 kB / 271.3 MB, free: 8.254 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.07052/0.07052, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003697, allocations: 8.281 kB / 393.3 MB, free: 65.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1002, allocations: 50.38 MB / 443.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001562/0.1018, allocations: 1.262 MB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.1025, allocations: 479.8 kB / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.1026, allocations: 0 / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.1026, allocations: 4 kB / 445.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.1027, allocations: 11.92 kB / 445.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.103, allocations: 43.89 kB / 445.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.414e-05/0.1031, allocations: 55.8 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1032, allocations: 19.98 kB / 445.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.1033, allocations: 19.92 kB / 445.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.1034, allocations: 27.84 kB / 445.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1034, allocations: 0 / 445.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.1034, allocations: 4 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.1035, allocations: 15.92 kB / 445.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.1035, allocations: 41.58 kB / 445.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.1036, allocations: 52.06 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1036, allocations: 7.938 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1036, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1036, allocations: 4 kB / 445.7 MB, free: 13.38 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.0005098/0.1042, allocations: 363.3 kB / 446.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1042, allocations: 12.03 kB / 446.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.1042, allocations: 8.844 kB / 446.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.1044, allocations: 192.2 kB / 446.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1044, allocations: 8.359 kB / 446.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1044, allocations: 8.375 kB / 446.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.1047, allocations: 130.8 kB / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1047, allocations: 0 / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1047, allocations: 11.92 kB / 446.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1047, allocations: 4 kB / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.613e-05/0.1048, allocations: 27.97 kB / 446.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1052, allocations: 297.6 kB / 446.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1054, allocations: 166.2 kB / 446.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.1055, allocations: 33.84 kB / 447 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1055, allocations: 3.984 kB / 447 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.1057, allocations: 71.33 kB / 447 MB, free: 11.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.1057, allocations: 0 / 447 MB, free: 11.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002194/0.1059, allocations: 109.6 kB / 447.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.106, allocations: 89.09 kB / 447.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.106, allocations: 117.8 kB / 447.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.106, allocations: 33.69 kB / 447.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.1061, allocations: 84.38 kB / 447.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1061, allocations: 19.75 kB / 447.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.1061, allocations: 4 kB / 447.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.1062, allocations: 326.8 kB / 447.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.1062, allocations: 19.98 kB / 447.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.1063, allocations: 70 kB / 447.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.1064, allocations: 81.89 kB / 448 MB, free: 10.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1064, allocations: 4 kB / 448 MB, free: 10.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001398/0.1065, allocations: 121.4 kB / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1065, allocations: 4 kB / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1066, allocations: 384 / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1066, allocations: 7.938 kB / 448.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.1066, allocations: 7.938 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1066, allocations: 4.312 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.1067, allocations: 27.98 kB / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1067, allocations: 4 kB / 448.1 MB, free: 10.64 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.558e-05/0.1068, allocations: 129.7 kB / 448.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.1069, allocations: 49.91 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.1069, allocations: 8.375 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1069, allocations: 4 kB / 448.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1069, allocations: 0 / 448.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1069, allocations: 0 / 448.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1072, allocations: 366.3 kB / 448.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1072, allocations: 0 / 448.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.1072, allocations: 0 / 448.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1072, allocations: 4.062 kB / 448.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1072, allocations: 4 kB / 448.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1073, allocations: 0 / 448.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1073, allocations: 7.938 kB / 448.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.1074, allocations: 204.2 kB / 448.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.1074, allocations: 89 kB / 449 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1075, allocations: 4 kB / 449 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.1075, allocations: 4 kB / 449 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.1076, allocations: 11.92 kB / 449 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1076, allocations: 4 kB / 449 MB, free: 9.664 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.1077, allocations: 91.27 kB / 449.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1077, allocations: 0 / 449.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.1079, allocations: 16 kB / 449.1 MB, free: 9.559 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 9.106e-05/0.108, allocations: 107.2 kB / 449.2 MB, free: 9.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.1082, allocations: 63.91 kB / 449.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1082, allocations: 0 / 449.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.1082, allocations: 24 kB / 449.3 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1085, allocations: 28.23 kB / 449.3 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.1089, allocations: 220 kB / 449.5 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.109, allocations: 0.6929 MB / 450.2 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.109, allocations: 15.42 kB / 450.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.109, allocations: 4 kB / 450.3 MB, free: 8.344 MB / 298.7 MB Notification: Performance of Templates: time 0.002095/0.1111, allocations: 1.069 MB / 451.3 MB, free: 7.277 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)