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.001349/0.001349, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.001118/0.001118, allocations: 89.72 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.321e-05, allocations: 4 kB / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 50.41 MB / 387.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5928, allocations: 76.33 MB / 463.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.5931, allocations: 79.95 kB / 464 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00567/0.5987, allocations: 2.102 MB / 466.1 MB, free: 232 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5988, allocations: 0 / 466.1 MB, free: 232 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.5988, allocations: 0 / 466.1 MB, free: 232 kB / 330.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.0003642/0.5992, allocations: 363.1 kB / 466.4 MB, free: 15.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.5992, allocations: 8.031 kB / 466.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.5992, allocations: 11.86 kB / 466.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.5994, allocations: 186.9 kB / 466.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/0.5995, allocations: 0 / 466.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5995, allocations: 4 kB / 466.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.073e-05/0.5996, allocations: 23.92 kB / 466.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.5997, allocations: 89.06 kB / 466.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5998, allocations: 7.953 kB / 466.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.5998, allocations: 0 / 466.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.5998, allocations: 3.984 kB / 466.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.6001, allocations: 251.1 kB / 467 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.6002, allocations: 37.22 kB / 467 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.6002, allocations: 17.72 kB / 467 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.6002, allocations: 0 / 467 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.6003, allocations: 30.56 kB / 467.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.6003, allocations: 0 / 467.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001408/0.6004, allocations: 57.55 kB / 467.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.6005, allocations: 81.05 kB / 467.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.6006, allocations: 126.6 kB / 467.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.6006, allocations: 25.7 kB / 467.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.6007, allocations: 88.14 kB / 467.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.6007, allocations: 3.906 kB / 467.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.6007, allocations: 0 / 467.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6008, allocations: 322.9 kB / 467.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.6008, allocations: 9.25 kB / 467.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.6009, allocations: 13.72 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.738e-05/0.6009, allocations: 4 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6009, allocations: 0 / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.711e-05/0.601, allocations: 45.62 kB / 467.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.601, allocations: 9.375 kB / 467.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.601, allocations: 3.953 kB / 467.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.601, allocations: 4 kB / 467.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.6011, allocations: 4 kB / 467.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6011, allocations: 7.984 kB / 467.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.6012, allocations: 4 kB / 467.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.6012, allocations: 4 kB / 467.9 MB, free: 14.18 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.764e-05/0.6012, allocations: 105 kB / 468 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.726e-05/0.6013, allocations: 53.53 kB / 468 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.6013, allocations: 11.86 kB / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.6014, allocations: 7.969 kB / 468 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.6014, allocations: 4 kB / 468.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6014, allocations: 0 / 468.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6014, allocations: 0 / 468.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.6016, allocations: 146.2 kB / 468.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6016, allocations: 3.984 kB / 468.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.6016, allocations: 11.98 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6016, allocations: 64 / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.6017, allocations: 7.953 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6017, allocations: 0 / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6017, allocations: 0 / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.6018, allocations: 162 kB / 468.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.6019, allocations: 93 kB / 468.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.6019, allocations: 7.984 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.602, allocations: 4 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.602, allocations: 0 / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.602, allocations: 0 / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.6021, allocations: 105.5 kB / 468.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6021, allocations: 0 / 468.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.6023, allocations: 4 kB / 468.6 MB, free: 13.38 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.000421/0.6027, allocations: 0.7641 MB / 469.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.6028, allocations: 27.8 kB / 469.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6028, allocations: 0 / 469.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.6028, allocations: 0 / 469.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.6031, allocations: 16.25 kB / 469.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.6035, allocations: 122.5 kB / 469.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.6038, allocations: 0.6885 MB / 470.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.657e-05/0.6038, allocations: 4 kB / 470.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.6039, allocations: 23.36 kB / 470.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6039, allocations: 0 / 470.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.6247, allocations: 0.9487 MB / 471.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.625, allocations: 163.1 kB / 471.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.103, allocations: 0.5625 kB / 471.3 MB, free: 10.5 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