Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.0009906/0.0009906, allocations: 175.2 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.467/1.467, allocations: 221.4 MB / 235.5 MB, free: 2.871 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.0009106/0.0009109, allocations: 97.98 kB / 286.5 MB, free: 152 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.091e-05, allocations: 4 kB / 343.9 MB, free: 4.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 50.41 MB / 394.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4314, allocations: 77 MB / 471.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.4318, allocations: 75.95 kB / 471.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006056/0.4379, allocations: 2.107 MB / 473.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4379, allocations: 0 / 473.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.4379, allocations: 4 kB / 473.5 MB, free: 8.266 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.0003878/0.4383, allocations: 359.2 kB / 473.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4384, allocations: 8.031 kB / 473.9 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.187e-05/0.4385, allocations: 42.44 kB / 473.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.4385, allocations: 11.86 kB / 473.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.4388, allocations: 187 kB / 474.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4388, allocations: 0 / 474.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.4388, allocations: 4 kB / 474.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.4391, allocations: 109 kB / 474.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4391, allocations: 0 / 474.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4391, allocations: 7.953 kB / 474.2 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4391, allocations: 0 / 474.2 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.4392, allocations: 7.938 kB / 474.3 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.4395, allocations: 277.7 kB / 474.5 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.4396, allocations: 41.22 kB / 474.6 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.4397, allocations: 17.72 kB / 474.6 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.4397, allocations: 3.953 kB / 474.6 MB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4397, allocations: 38.56 kB / 474.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4398, allocations: 0 / 474.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001867/0.4399, allocations: 53.53 kB / 474.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.44, allocations: 77.11 kB / 474.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.4402, allocations: 128.6 kB / 474.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.4402, allocations: 25.7 kB / 474.9 MB, free: 6.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.4403, allocations: 92.14 kB / 475 MB, free: 6.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.4403, allocations: 7.969 kB / 475 MB, free: 6.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.4403, allocations: 3.938 kB / 475 MB, free: 6.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4405, allocations: 310.8 kB / 475.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.4406, allocations: 11.98 kB / 475.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.4406, allocations: 13.72 kB / 475.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.4406, allocations: 4 kB / 475.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4406, allocations: 0 / 475.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.893e-05/0.4407, allocations: 53.66 kB / 475.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4407, allocations: 7.984 kB / 475.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4407, allocations: 0 / 475.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4408, allocations: 0 / 475.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.4409, allocations: 8 kB / 475.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4409, allocations: 0 / 475.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.4409, allocations: 4 kB / 475.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.4409, allocations: 0 / 475.4 MB, free: 6.129 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 9.304e-05/0.441, allocations: 113 kB / 475.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.4411, allocations: 45.5 kB / 475.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.4411, allocations: 11.66 kB / 475.6 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4412, allocations: 0 / 475.6 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4412, allocations: 0 / 475.6 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.4412, allocations: 3.984 kB / 475.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.4414, allocations: 165.7 kB / 475.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4414, allocations: 0 / 475.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.4415, allocations: 7.984 kB / 475.7 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4415, allocations: 4.031 kB / 475.7 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4415, allocations: 11.95 kB / 475.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4415, allocations: 0 / 475.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4415, allocations: 0 / 475.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.4417, allocations: 158 kB / 475.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.4417, allocations: 101 kB / 476 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.4418, allocations: 4.031 kB / 476 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.4418, allocations: 7.938 kB / 476 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.4419, allocations: 3.984 kB / 476 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4419, allocations: 4 kB / 476 MB, free: 5.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.673e-05/0.442, allocations: 109.5 kB / 476.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.442, allocations: 0 / 476.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.4422, allocations: 4 kB / 476.1 MB, free: 5.289 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.0004997/0.4427, allocations: 0.7679 MB / 476.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.4428, allocations: 16 kB / 476.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4428, allocations: 0 / 476.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.4428, allocations: 8.156 kB / 476.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.4431, allocations: 15.95 kB / 477 MB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.4435, allocations: 123.5 kB / 477.1 MB, free: 4.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4439, allocations: 0.6887 MB / 477.8 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.261e-05/0.444, allocations: 3.984 kB / 477.8 MB, free: 3.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.444, allocations: 15.44 kB / 477.8 MB, free: 3.555 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.444, allocations: 4.156 kB / 477.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.4562, allocations: 1.275 MB / 479.1 MB, free: 2.414 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.4565, allocations: 167.3 kB / 479.2 MB, free: 2.191 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.388/1.845, allocations: 0 / 479.2 MB, free: 2.191 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat