Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.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.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",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.001591/0.00159, allocations: 184.9 kB / 15.8 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001068/0.001068, allocations: 94.8 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09792/0.09791, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005482/0.000548, allocations: 12.81 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.09787, allocations: 50.37 MB / 442.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.2428, allocations: 78.46 MB / 0.5087 GB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.2431, allocations: 59.97 kB / 0.5088 GB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005434/0.2486, allocations: 1.281 MB / 0.51 GB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2486, allocations: 0 / 0.51 GB, free: 10.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.2487, allocations: 4 kB / 0.51 GB, free: 10.94 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005621/0.2492, allocations: 367.1 kB / 0.5104 GB, free: 10.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2493, allocations: 8.031 kB / 0.5104 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.911e-05/0.2494, allocations: 42.55 kB / 0.5104 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.2494, allocations: 7.906 kB / 0.5104 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.2497, allocations: 190.8 kB / 0.5106 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2497, allocations: 7.953 kB / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2497, allocations: 4 kB / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.2501, allocations: 137 kB / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2502, allocations: 0 / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2502, allocations: 0 / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2502, allocations: 0 / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.2504, allocations: 39.92 kB / 0.5108 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.251, allocations: 297.7 kB / 0.5111 GB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.2514, allocations: 162.3 kB / 0.5112 GB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.2514, allocations: 0 / 0.5112 GB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.2516, allocations: 59.5 kB / 0.5113 GB, free: 9.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.2517, allocations: 0 / 0.5113 GB, free: 9.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004982/0.2522, allocations: 129.5 kB / 0.5114 GB, free: 9.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.2523, allocations: 85.11 kB / 0.5115 GB, free: 9.191 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2524, allocations: 105.2 kB / 0.5116 GB, free: 9.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2524, allocations: 29.7 kB / 0.5116 GB, free: 9.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.2525, allocations: 96.67 kB / 0.5117 GB, free: 8.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.2525, allocations: 7.891 kB / 0.5117 GB, free: 8.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.2526, allocations: 7.938 kB / 0.5117 GB, free: 8.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2527, allocations: 326.8 kB / 0.512 GB, free: 8.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.2528, allocations: 23.92 kB / 0.5121 GB, free: 8.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.253, allocations: 65.12 kB / 0.5121 GB, free: 8.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.2531, allocations: 36.19 kB / 0.5122 GB, free: 8.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2532, allocations: 0 / 0.5122 GB, free: 8.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003367/0.2535, allocations: 117.4 kB / 0.5123 GB, free: 8.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.2535, allocations: 8 kB / 0.5123 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2536, allocations: 4.156 kB / 0.5123 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2536, allocations: 4 kB / 0.5123 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2537, allocations: 11.94 kB / 0.5123 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2538, allocations: 7.984 kB / 0.5123 GB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.2539, allocations: 7.984 kB / 0.5123 GB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2539, allocations: 4 kB / 0.5123 GB, free: 8.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.000142/0.254, allocations: 133.5 kB / 0.5124 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2542, allocations: 53.53 kB / 0.5125 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.2542, allocations: 11.97 kB / 0.5125 GB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2542, allocations: 4 kB / 0.5125 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2542, allocations: 0 / 0.5125 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2543, allocations: 0 / 0.5125 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.2548, allocations: 342.5 kB / 0.5128 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2549, allocations: 0 / 0.5128 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.255, allocations: 11.98 kB / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.255, allocations: 4 kB / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.255, allocations: 0 / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.255, allocations: 4 kB / 0.5129 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.255, allocations: 0 / 0.5129 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.2554, allocations: 217.9 kB / 0.5131 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.2555, allocations: 85 kB / 0.5131 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2555, allocations: 8 kB / 0.5132 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.2556, allocations: 0 / 0.5132 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.2557, allocations: 4 kB / 0.5132 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.2557, allocations: 8.109 kB / 0.5132 GB, free: 7.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.567e-05/0.2558, allocations: 95.27 kB / 0.5133 GB, free: 7.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.2558, allocations: 0 / 0.5133 GB, free: 7.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.2561, allocations: 12 kB / 0.5133 GB, free: 7.199 MB / 362.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: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008844/0.257, allocations: 0.8523 MB / 0.5141 GB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.2574, allocations: 71.97 kB / 0.5142 GB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.2574, allocations: 0 / 0.5142 GB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2575, allocations: 23.92 kB / 0.5142 GB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.2578, allocations: 35.66 kB / 0.5142 GB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.2594, allocations: 1.32 MB / 0.5155 GB, free: 4.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.2598, allocations: 0.6977 MB / 0.5162 GB, free: 4.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.715e-05/0.2599, allocations: 11.94 kB / 0.5162 GB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/0.26, allocations: 23.44 kB / 0.5162 GB, free: 4.039 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.26, allocations: 0 / 0.5162 GB, free: 4.039 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.2832, allocations: 1.552 MB / 0.5177 GB, free: 2.496 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/0.2836, allocations: 204.7 kB / 0.5179 GB, free: 2.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.597, allocations: 0 / 0.5179 GB, free: 2.254 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)