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.001046/0.001046, allocations: 173.8 kB / 16.11 MB, free: 5.574 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.661/1.661, allocations: 205 MB / 221.9 MB, free: 9.145 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.0007372/0.0007373, allocations: 97.11 kB / 269.9 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.08585/0.08585, allocations: 12.57 MB / 330.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 15.98 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.09941, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001495/0.1009, allocations: 1.27 MB / 442.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.1016, allocations: 491.7 kB / 442.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.1017, allocations: 0 / 442.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.1017, allocations: 3.938 kB / 442.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.1018, allocations: 7.938 kB / 442.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.102, allocations: 39.95 kB / 442.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.1021, allocations: 59.8 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.1022, allocations: 23.98 kB / 443 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.1023, allocations: 23.84 kB / 443 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.1023, allocations: 23.8 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1024, allocations: 4 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.1024, allocations: 4 kB / 443.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.1024, allocations: 11.92 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.1024, allocations: 23.88 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.625e-05/0.1025, allocations: 64 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1025, allocations: 0 / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1026, allocations: 0 / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1026, allocations: 3.938 kB / 443.2 MB, free: 14.23 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.0004377/0.103, allocations: 367.3 kB / 443.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.103, allocations: 8.031 kB / 443.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.1031, allocations: 42.73 kB / 443.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.1031, allocations: 12.84 kB / 443.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1033, allocations: 188.2 kB / 443.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1033, allocations: 4.375 kB / 443.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1033, allocations: 8.375 kB / 443.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1036, allocations: 133.1 kB / 443.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1036, allocations: 0 / 443.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1036, allocations: 4 kB / 443.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1036, allocations: 7.984 kB / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.1037, allocations: 27.92 kB / 444 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.104, allocations: 297.6 kB / 444.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1042, allocations: 162.2 kB / 444.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.1042, allocations: 33.84 kB / 444.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1042, allocations: 4 kB / 444.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.1044, allocations: 63.39 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.1044, allocations: 0 / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001804/0.1046, allocations: 129.6 kB / 444.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1046, allocations: 77.11 kB / 444.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.1047, allocations: 125.7 kB / 444.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.1047, allocations: 29.7 kB / 444.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.1047, allocations: 92.36 kB / 445 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.1048, allocations: 15.75 kB / 445 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.1048, allocations: 25.7 kB / 445 MB, free: 12.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.1048, allocations: 318.8 kB / 445.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.1049, allocations: 27.98 kB / 445.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.1049, allocations: 69.92 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.105, allocations: 93.88 kB / 445.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.105, allocations: 0 / 445.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001291/0.1052, allocations: 113.5 kB / 445.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1052, allocations: 4 kB / 445.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1052, allocations: 4 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1052, allocations: 4.156 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-05/0.1053, allocations: 19.88 kB / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1053, allocations: 3.984 kB / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.1053, allocations: 11.91 kB / 445.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1054, allocations: 4 kB / 445.7 MB, free: 11.42 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.576e-05/0.1054, allocations: 130.9 kB / 445.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.1055, allocations: 53.53 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.1055, allocations: 16.38 kB / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1055, allocations: 4 kB / 445.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1055, allocations: 3.984 kB / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1055, allocations: 4 kB / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1058, allocations: 334.5 kB / 446.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1058, allocations: 0 / 446.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.1058, allocations: 7.938 kB / 446.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1058, allocations: 3.984 kB / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1058, allocations: 0 / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1058, allocations: 7.938 kB / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1058, allocations: 4 kB / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.106, allocations: 196.6 kB / 446.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.106, allocations: 89.02 kB / 446.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.106, allocations: 64 / 446.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.1061, allocations: 19.92 kB / 446.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1062, allocations: 11.94 kB / 446.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1062, allocations: 7.984 kB / 446.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.1062, allocations: 91.59 kB / 446.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1062, allocations: 0 / 446.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.1065, allocations: 20 kB / 446.6 MB, free: 10.33 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.0003764/0.1068, allocations: 0.7563 MB / 447.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.107, allocations: 79.83 kB / 447.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.107, allocations: 0 / 447.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.107, allocations: 23.97 kB / 447.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1073, allocations: 31.91 kB / 447.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.1083, allocations: 1.517 MB / 449 MB, free: 7.766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.1085, allocations: 0.6926 MB / 449.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.3e-05/0.1085, allocations: 4.438 kB / 449.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.1086, allocations: 23.42 kB / 449.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1086, allocations: 4 kB / 449.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.1205, allocations: 1.797 MB / 451.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.1207, allocations: 237.3 kB / 451.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.684, allocations: 64 / 451.8 MB, free: 4.953 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)