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.001203/0.001203, allocations: 172.8 kB / 16.14 MB, free: 5.652 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.681/1.681, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0009735/0.0009735, allocations: 89.42 kB / 270.7 MB, free: 8.246 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.1001/0.1001, allocations: 12.59 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003632, allocations: 8 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09141, allocations: 50.37 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001637/0.0931, allocations: 1.262 MB / 444.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007628/0.0939, allocations: 475.8 kB / 444.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.09402, allocations: 4 kB / 444.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.09406, allocations: 0 / 444.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.336e-05/0.09416, allocations: 11.92 kB / 444.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.09456, allocations: 43.89 kB / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.09468, allocations: 59.78 kB / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.0948, allocations: 20 kB / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.753e-05/0.09486, allocations: 19.92 kB / 445 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.09493, allocations: 23.86 kB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.09496, allocations: 4 kB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.09498, allocations: 4 kB / 445.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.09501, allocations: 19.91 kB / 445.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.09508, allocations: 49.5 kB / 445.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.09519, allocations: 64 kB / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.0952, allocations: 0 / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.09521, allocations: 0 / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.09522, allocations: 3.938 kB / 445.2 MB, free: 13.25 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.0004603/0.09568, allocations: 367.3 kB / 445.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.09573, allocations: 8.031 kB / 445.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.09578, allocations: 38.75 kB / 445.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.09582, allocations: 8.844 kB / 445.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.09598, allocations: 192.1 kB / 445.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.096, allocations: 8.375 kB / 445.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.09602, allocations: 8.312 kB / 445.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.09626, allocations: 134.5 kB / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.09628, allocations: 0 / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.0963, allocations: 8 kB / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.09631, allocations: 3.984 kB / 445.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.09638, allocations: 27.98 kB / 446 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.09676, allocations: 297.5 kB / 446.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.09693, allocations: 158.3 kB / 446.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.09699, allocations: 37.83 kB / 446.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.09702, allocations: 7.938 kB / 446.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.09717, allocations: 67.39 kB / 446.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.09718, allocations: 0 / 446.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002201/0.0974, allocations: 113.6 kB / 446.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.09746, allocations: 89.09 kB / 446.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.09753, allocations: 117.8 kB / 446.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.09755, allocations: 25.7 kB / 446.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.09759, allocations: 88.38 kB / 447 MB, free: 11.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.09761, allocations: 27.73 kB / 447 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.09762, allocations: 4 kB / 447 MB, free: 11.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.09768, allocations: 318.8 kB / 447.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.09772, allocations: 19.98 kB / 447.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.09778, allocations: 73.88 kB / 447.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.325e-05/0.09787, allocations: 89.94 kB / 447.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.09788, allocations: 0 / 447.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001486/0.09803, allocations: 121.5 kB / 447.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.09805, allocations: 4 kB / 447.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.09807, allocations: 4.375 kB / 447.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.09808, allocations: 0 / 447.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/0.09813, allocations: 11.94 kB / 447.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.09815, allocations: 320 / 447.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.09823, allocations: 23.83 kB / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.09825, allocations: 4 kB / 447.6 MB, free: 10.48 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 0.000115/0.09837, allocations: 134 kB / 447.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.09844, allocations: 57.58 kB / 447.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.09848, allocations: 8.375 kB / 447.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.09848, allocations: 0 / 447.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.0985, allocations: 4 kB / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.09851, allocations: 0 / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.09877, allocations: 354.4 kB / 448.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.09878, allocations: 0 / 448.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.0988, allocations: 4 kB / 448.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.09881, allocations: 4 kB / 448.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.09882, allocations: 4 kB / 448.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.09883, allocations: 11.86 kB / 448.2 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.09884, allocations: 0 / 448.2 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.09898, allocations: 200.2 kB / 448.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.09902, allocations: 85.02 kB / 448.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.09904, allocations: 8.062 kB / 448.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.09914, allocations: 19.92 kB / 448.5 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.09919, allocations: 4 kB / 448.5 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.0992, allocations: 4 kB / 448.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.135e-05/0.09924, allocations: 87.27 kB / 448.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09924, allocations: 4 kB / 448.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.09948, allocations: 16 kB / 448.6 MB, free: 9.379 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 0.0003896/0.09988, allocations: 0.7601 MB / 449.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.1, allocations: 71.78 kB / 449.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1, allocations: 0 / 449.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.1001, allocations: 16 kB / 449.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1004, allocations: 36.33 kB / 449.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1015, allocations: 1.522 MB / 451 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.1016, allocations: 0.7004 MB / 451.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.1017, allocations: 12.41 kB / 451.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.1017, allocations: 27.44 kB / 451.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1017, allocations: 0 / 451.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.1145, allocations: 1.799 MB / 453.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.1147, allocations: 233.3 kB / 453.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.776, allocations: 0 / 453.8 MB, free: 3.992 MB / 298.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)