Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,fileNamePrefix="Modelica_Synchronous_cpp_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.0008715/0.0008716, allocations: 178.1 kB / 16.77 MB, free: 4.898 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.154/1.154, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007443/0.0007443, allocations: 86.78 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05663/0.05663, allocations: 12.19 MB / 331.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003877, allocations: 20 kB / 392.2 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06447/0.06488, allocations: 50.29 MB / 442.5 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001325/0.06623, allocations: 1.255 MB / 443.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006157/0.06687, allocations: 460.1 kB / 444.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.06695, allocations: 4 kB / 444.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.06698, allocations: 3.938 kB / 444.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.06706, allocations: 3.938 kB / 444.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.06731, allocations: 35.89 kB / 444.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.06739, allocations: 59.84 kB / 444.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.06748, allocations: 15.98 kB / 444.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.06752, allocations: 19.88 kB / 444.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.06758, allocations: 27.91 kB / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.0676, allocations: 0 / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.06762, allocations: 4 kB / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.06764, allocations: 15.86 kB / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.06769, allocations: 49.56 kB / 444.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.622e-05/0.06776, allocations: 40.2 kB / 444.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.06777, allocations: 0 / 444.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.06778, allocations: 0 / 444.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.06778, allocations: 3.938 kB / 444.5 MB, free: 14.55 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.0003947/0.06818, allocations: 379.2 kB / 444.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.06823, allocations: 8.031 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.06827, allocations: 42.69 kB / 444.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.06832, allocations: 12.84 kB / 444.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.06846, allocations: 188.2 kB / 445.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.06848, allocations: 4.375 kB / 445.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.0685, allocations: 8.375 kB / 445.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.06871, allocations: 133.1 kB / 445.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.06873, allocations: 0 / 445.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.06874, allocations: 4 kB / 445.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.06875, allocations: 4 kB / 445.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.06881, allocations: 27.91 kB / 445.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.06917, allocations: 309.6 kB / 445.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.06931, allocations: 162.2 kB / 445.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.06936, allocations: 33.83 kB / 445.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.06939, allocations: 4 kB / 445.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.06952, allocations: 71.33 kB / 445.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.06953, allocations: 0 / 445.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002016/0.06973, allocations: 109.5 kB / 445.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.06978, allocations: 85.11 kB / 446 MB, free: 12.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.06984, allocations: 117.8 kB / 446.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.06986, allocations: 25.7 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.06989, allocations: 96.81 kB / 446.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.06991, allocations: 19.8 kB / 446.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.06992, allocations: 4 kB / 446.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.82e-05/0.06996, allocations: 318.8 kB / 446.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.07001, allocations: 27.86 kB / 446.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/0.07006, allocations: 62.98 kB / 446.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.07014, allocations: 93.88 kB / 446.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.07015, allocations: 4 kB / 446.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001391/0.07029, allocations: 113.5 kB / 446.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.07031, allocations: 8 kB / 446.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.07032, allocations: 0 / 446.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.07034, allocations: 4 kB / 446.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.036e-05/0.07038, allocations: 11.88 kB / 446.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.0704, allocations: 4 kB / 446.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.07048, allocations: 19.89 kB / 446.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.0705, allocations: 4 kB / 446.9 MB, free: 11.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.07056, allocations: 137.7 kB / 447.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.07062, allocations: 45.92 kB / 447.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.07065, allocations: 8.422 kB / 447.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.07066, allocations: 7.984 kB / 447.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.07067, allocations: 0 / 447.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.07068, allocations: 0 / 447.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.0709, allocations: 354.3 kB / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.07091, allocations: 4 kB / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.07093, allocations: 4.062 kB / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.07094, allocations: 8 kB / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.07095, allocations: 0 / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.07096, allocations: 7.922 kB / 447.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.07096, allocations: 0 / 447.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.0711, allocations: 204.2 kB / 447.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.07112, allocations: 81.02 kB / 447.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.07115, allocations: 8 kB / 447.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.07124, allocations: 15.92 kB / 447.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.07128, allocations: 4 kB / 447.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.07129, allocations: 4 kB / 447.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.07133, allocations: 91.27 kB / 447.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07133, allocations: 0 / 447.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.07157, allocations: 16.28 kB / 447.9 MB, free: 10.67 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 (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.0003217/0.0719, allocations: 0.7639 MB / 448.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.07202, allocations: 63.84 kB / 448.7 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.07203, allocations: 4 kB / 448.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.07207, allocations: 19.94 kB / 448.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.0724, allocations: 36.33 kB / 448.8 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.07308, allocations: 0.5882 MB / 449.4 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.916e-05/0.07318, allocations: 0.6926 MB / 450.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.07323, allocations: 27.42 kB / 450.1 MB, free: 8.344 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.07324, allocations: 8 kB / 450.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.284/2.357, allocations: 1.28 MB / 451.4 MB, free: 7.059 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)