Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001167, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009649/0.0009652, allocations: 95.59 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.804e-05, allocations: 7.984 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.42 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/0.4332, allocations: 77 MB / 471.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4335, allocations: 75.95 kB / 471.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005559/0.439, allocations: 2.104 MB / 473.5 MB, free: 8.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4391, allocations: 0 / 473.5 MB, free: 8.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4391, allocations: 4 kB / 473.5 MB, free: 8.301 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000365/0.4395, allocations: 355.5 kB / 473.9 MB, free: 7.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4395, allocations: 8.031 kB / 473.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.4396, allocations: 38.5 kB / 473.9 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.4396, allocations: 15.8 kB / 473.9 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.4398, allocations: 188 kB / 474.1 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.4398, allocations: 4 kB / 474.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.4399, allocations: 4 kB / 474.1 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.4401, allocations: 97.81 kB / 474.2 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4401, allocations: 4 kB / 474.2 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.4401, allocations: 3.953 kB / 474.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4402, allocations: 4 kB / 474.2 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.4402, allocations: 15.88 kB / 474.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.4406, allocations: 265.8 kB / 474.5 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.4406, allocations: 53.16 kB / 474.6 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.4407, allocations: 13.7 kB / 474.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.4407, allocations: 8.016 kB / 474.6 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4407, allocations: 34.56 kB / 474.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4407, allocations: 0 / 474.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.4409, allocations: 49.55 kB / 474.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.441, allocations: 89.16 kB / 474.7 MB, free: 6.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4411, allocations: 123.7 kB / 474.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.4411, allocations: 25.7 kB / 474.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.4411, allocations: 92.12 kB / 475 MB, free: 6.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.4412, allocations: 7.906 kB / 475 MB, free: 6.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.4412, allocations: 0 / 475 MB, free: 6.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4413, allocations: 318.8 kB / 475.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.4413, allocations: 4 kB / 475.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.4413, allocations: 21.72 kB / 475.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.4414, allocations: 4 kB / 475.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4414, allocations: 0 / 475.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.298e-05/0.4414, allocations: 49.58 kB / 475.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4415, allocations: 8 kB / 475.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4415, allocations: 0 / 475.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4415, allocations: 0 / 475.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.4416, allocations: 12.12 kB / 475.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4416, allocations: 0 / 475.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.4416, allocations: 3.984 kB / 475.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4416, allocations: 4 kB / 475.4 MB, free: 6.156 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.315e-05/0.4417, allocations: 104.9 kB / 475.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.4418, allocations: 45.56 kB / 475.6 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.4418, allocations: 11.64 kB / 475.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4418, allocations: 0 / 475.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4418, allocations: 4.031 kB / 475.6 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4418, allocations: 0 / 475.6 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.442, allocations: 169.7 kB / 475.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.442, allocations: 0 / 475.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.442, allocations: 4 kB / 475.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.442, allocations: 0 / 475.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4421, allocations: 7.953 kB / 475.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4421, allocations: 0 / 475.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4421, allocations: 0 / 475.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.4422, allocations: 166 kB / 475.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.4423, allocations: 96.95 kB / 476 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.4423, allocations: 7.938 kB / 476 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.4424, allocations: 3.984 kB / 476 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.4424, allocations: 4 kB / 476 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4424, allocations: 0 / 476 MB, free: 5.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.372e-05/0.4425, allocations: 114 kB / 476.1 MB, free: 5.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4425, allocations: 0 / 476.1 MB, free: 5.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000191/0.4427, allocations: 4 kB / 476.1 MB, free: 5.328 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003747/0.4431, allocations: 0.7641 MB / 476.9 MB, free: 4.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.4431, allocations: 15.94 kB / 476.9 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4431, allocations: 0 / 476.9 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.4432, allocations: 4 kB / 476.9 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.4434, allocations: 22.47 kB / 476.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.4438, allocations: 119.8 kB / 477.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.444, allocations: 0.7004 MB / 477.8 MB, free: 3.605 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.69e-05/0.444, allocations: 0 / 477.8 MB, free: 3.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.4441, allocations: 15.44 kB / 477.8 MB, free: 3.594 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4441, allocations: 0 / 477.8 MB, free: 3.594 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.4561, allocations: 1.265 MB / 479 MB, free: 2.457 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.4564, allocations: 172.8 kB / 479.2 MB, free: 2.227 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.403/1.86, allocations: 0 / 479.2 MB, free: 2.227 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat does not exist to compare? outputFormat=mat