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.001372/0.001372, allocations: 176.8 kB / 15.82 MB, free: 6.305 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.671/1.671, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009156/0.0009161, allocations: 94.28 kB / 270.3 MB, free: 13.38 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0842/0.0842, allocations: 12.6 MB / 331.2 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004417, allocations: 16.78 kB / 392.1 MB, free: 54.82 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09386, allocations: 50.38 MB / 442.5 MB, free: 10.87 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001746/0.09566, allocations: 1.236 MB / 443.7 MB, free: 9.621 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.09645, allocations: 488.4 kB / 444.2 MB, free: 9.137 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.09656, allocations: 3.938 kB / 444.2 MB, free: 9.133 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.09658, allocations: 7.922 kB / 444.2 MB, free: 9.125 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.09667, allocations: 7.938 kB / 444.2 MB, free: 9.117 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.09696, allocations: 31.97 kB / 444.3 MB, free: 9.086 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 8.639e-05/0.09706, allocations: 63.77 kB / 444.3 MB, free: 9.023 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.09717, allocations: 19.97 kB / 444.3 MB, free: 9.004 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.09722, allocations: 19.92 kB / 444.4 MB, free: 8.984 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.09728, allocations: 27.86 kB / 444.4 MB, free: 8.957 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.09731, allocations: 0 / 444.4 MB, free: 8.957 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.09734, allocations: 4 kB / 444.4 MB, free: 8.953 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.09736, allocations: 19.91 kB / 444.4 MB, free: 8.934 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.0974, allocations: 29.7 kB / 444.4 MB, free: 8.898 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 7.828e-05/0.09748, allocations: 32.5 kB / 444.5 MB, free: 8.867 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09749, allocations: 0 / 444.5 MB, free: 8.867 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.124e-06/0.0975, allocations: 4 kB / 444.5 MB, free: 8.863 MB / 282.8 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.09751, allocations: 0 / 444.5 MB, free: 8.863 MB / 282.8 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.0004975/0.09802, allocations: 371.4 kB / 444.8 MB, free: 8.453 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.09807, allocations: 8.031 kB / 444.8 MB, free: 8.445 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.0981, allocations: 42.55 kB / 444.9 MB, free: 8.395 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.09814, allocations: 7.906 kB / 444.9 MB, free: 8.387 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.09831, allocations: 186.9 kB / 445.1 MB, free: 8.164 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.09833, allocations: 4 kB / 445.1 MB, free: 8.16 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.09836, allocations: 8 kB / 445.1 MB, free: 8.152 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.0986, allocations: 133 kB / 445.2 MB, free: 8.004 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.09863, allocations: 0 / 445.2 MB, free: 8.004 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.09864, allocations: 4 kB / 445.2 MB, free: 8 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.09865, allocations: 0 / 445.2 MB, free: 8 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.923e-05/0.09872, allocations: 31.92 kB / 445.3 MB, free: 7.969 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.09907, allocations: 297.6 kB / 445.5 MB, free: 7.625 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.09922, allocations: 158.2 kB / 445.7 MB, free: 7.434 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.09928, allocations: 33.84 kB / 445.7 MB, free: 7.395 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.09931, allocations: 0 / 445.7 MB, free: 7.395 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.09944, allocations: 75.39 kB / 445.8 MB, free: 7.309 MB / 282.8 MB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.09945, allocations: 0 / 445.8 MB, free: 7.309 MB / 282.8 MB Notification: Performance of matching and sorting (n=11): time 0.00022/0.09968, allocations: 121.5 kB / 445.9 MB, free: 7.184 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.09973, allocations: 89.05 kB / 446 MB, free: 7.078 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.0998, allocations: 125.6 kB / 446.1 MB, free: 6.945 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.09982, allocations: 25.7 kB / 446.2 MB, free: 6.914 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.09986, allocations: 92.36 kB / 446.3 MB, free: 6.82 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.09988, allocations: 19.8 kB / 446.3 MB, free: 6.801 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.09989, allocations: 8 kB / 446.3 MB, free: 6.793 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.09995, allocations: 318.8 kB / 446.6 MB, free: 6.473 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.09999, allocations: 19.98 kB / 446.6 MB, free: 6.453 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.1, allocations: 77.88 kB / 446.7 MB, free: 6.355 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.1001, allocations: 32.12 kB / 446.7 MB, free: 6.324 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1001, allocations: 0 / 446.7 MB, free: 6.324 MB / 282.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001483/0.1003, allocations: 117.4 kB / 446.8 MB, free: 6.203 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1003, allocations: 8 kB / 446.8 MB, free: 6.195 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1003, allocations: 4.156 kB / 446.8 MB, free: 6.191 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1003, allocations: 4 kB / 446.8 MB, free: 6.188 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.1004, allocations: 7.938 kB / 446.9 MB, free: 6.18 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1004, allocations: 7.984 kB / 446.9 MB, free: 6.172 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.1005, allocations: 11.95 kB / 446.9 MB, free: 6.16 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1005, allocations: 8 kB / 446.9 MB, free: 6.152 MB / 282.8 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.751e-05/0.1006, allocations: 121.6 kB / 447 MB, free: 6.023 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.1006, allocations: 57.53 kB / 447.1 MB, free: 5.961 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.1006, allocations: 12.38 kB / 447.1 MB, free: 5.945 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1007, allocations: 4 kB / 447.1 MB, free: 5.941 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1007, allocations: 0 / 447.1 MB, free: 5.941 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1007, allocations: 3.984 kB / 447.1 MB, free: 5.938 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1009, allocations: 338.5 kB / 447.4 MB, free: 5.551 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1009, allocations: 4 kB / 447.4 MB, free: 5.547 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.1009, allocations: 0 / 447.4 MB, free: 5.547 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.101, allocations: 0 / 447.4 MB, free: 5.547 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.101, allocations: 7.984 kB / 447.4 MB, free: 5.539 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.101, allocations: 4 kB / 447.4 MB, free: 5.535 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.101, allocations: 3.953 kB / 447.4 MB, free: 5.531 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1011, allocations: 200.2 kB / 447.6 MB, free: 5.316 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.1012, allocations: 88.95 kB / 447.7 MB, free: 5.211 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1012, allocations: 8 kB / 447.7 MB, free: 5.203 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.1013, allocations: 8.359 kB / 447.7 MB, free: 5.195 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1013, allocations: 11.98 kB / 447.7 MB, free: 5.184 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1013, allocations: 7.953 kB / 447.7 MB, free: 5.176 MB / 282.8 MB Notification: Performance of sorting global known variables: time 3.138e-05/0.1014, allocations: 91.22 kB / 447.8 MB, free: 5.086 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1014, allocations: 0 / 447.8 MB, free: 5.086 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002124/0.1016, allocations: 16 kB / 447.8 MB, free: 5.07 MB / 282.8 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 0.0003566/0.102, allocations: 0.7681 MB / 448.6 MB, free: 4.27 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.1021, allocations: 67.83 kB / 448.7 MB, free: 4.203 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1021, allocations: 4 kB / 448.7 MB, free: 4.199 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.1021, allocations: 27.92 kB / 448.7 MB, free: 4.172 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1025, allocations: 23.78 kB / 448.7 MB, free: 4.152 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.1033, allocations: 0.5756 MB / 449.3 MB, free: 3.512 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.1035, allocations: 0.7004 MB / 450 MB, free: 2.785 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.1035, allocations: 8.422 kB / 450 MB, free: 2.777 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.1036, allocations: 24.8 kB / 450 MB, free: 2.754 MB / 282.8 MB Notification: Performance of SimCode: time 3.3e-07/0.1036, allocations: 0 / 450 MB, free: 2.754 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.1166, allocations: 1.791 MB / 451.8 MB, free: 0.9766 MB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/0.117, allocations: 220.9 kB / 452.1 MB, free: 0.7305 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/1.613, allocations: 3.938 kB / 452.1 MB, free: 0.7266 MB / 282.8 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)