Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample",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.001591, allocations: 183.6 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.103/2.103, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001157/0.001156, allocations: 90.86 kB / 270.3 MB, free: 13.35 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.09623/0.09623, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005528/0.000553, allocations: 19.72 kB / 392.1 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1041, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.2768, allocations: 78.34 MB / 0.5086 GB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.2772, allocations: 79.95 kB / 0.5087 GB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008663/0.2859, allocations: 1.999 MB / 0.5106 GB, free: 10.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.286, allocations: 0 / 0.5106 GB, free: 10.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.286, allocations: 0 / 0.5106 GB, free: 10.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005607/0.2866, allocations: 375 kB / 0.511 GB, free: 9.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.2866, allocations: 8.031 kB / 0.511 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.2867, allocations: 30.56 kB / 0.511 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.2867, allocations: 11.91 kB / 0.511 GB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.287, allocations: 202.7 kB / 0.5112 GB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.287, allocations: 0 / 0.5112 GB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2871, allocations: 4 kB / 0.5112 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.2874, allocations: 109 kB / 0.5113 GB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2875, allocations: 4 kB / 0.5113 GB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2875, allocations: 0 / 0.5113 GB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2875, allocations: 0 / 0.5113 GB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.2877, allocations: 27.92 kB / 0.5114 GB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.2882, allocations: 265.8 kB / 0.5116 GB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.2883, allocations: 50.73 kB / 0.5117 GB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.2883, allocations: 4.062 kB / 0.5117 GB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.2884, allocations: 30.56 kB / 0.5117 GB, free: 9.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.2884, allocations: 0 / 0.5117 GB, free: 9.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003856/0.2888, allocations: 81.52 kB / 0.5118 GB, free: 8.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.2889, allocations: 77.11 kB / 0.5119 GB, free: 8.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.2891, allocations: 129.3 kB / 0.512 GB, free: 8.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.2891, allocations: 25.7 kB / 0.512 GB, free: 8.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.2892, allocations: 84.39 kB / 0.5121 GB, free: 8.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.2893, allocations: 7.906 kB / 0.5121 GB, free: 8.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.2893, allocations: 0 / 0.5121 GB, free: 8.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2894, allocations: 326.8 kB / 0.5124 GB, free: 8.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.2895, allocations: 4 kB / 0.5124 GB, free: 8.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.2896, allocations: 25.64 kB / 0.5124 GB, free: 8.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.677e-05/0.2897, allocations: 16.06 kB / 0.5124 GB, free: 8.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2897, allocations: 0 / 0.5124 GB, free: 8.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/0.2899, allocations: 57.67 kB / 0.5125 GB, free: 8.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.29, allocations: 8 kB / 0.5125 GB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.29, allocations: 3.984 kB / 0.5125 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.29, allocations: 0 / 0.5125 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2901, allocations: 12 kB / 0.5125 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2901, allocations: 8 kB / 0.5125 GB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.2902, allocations: 3.984 kB / 0.5125 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2902, allocations: 4 kB / 0.5125 GB, free: 8.102 MB / 362.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 () * Number of clocked 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 0.0001309/0.2904, allocations: 125.5 kB / 0.5127 GB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.2905, allocations: 45.53 kB / 0.5127 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.2905, allocations: 11.86 kB / 0.5127 GB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2906, allocations: 4 kB / 0.5127 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2906, allocations: 4.031 kB / 0.5127 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.2906, allocations: 0 / 0.5127 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.2908, allocations: 169.6 kB / 0.5129 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2909, allocations: 0 / 0.5129 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.2909, allocations: 11.98 kB / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.291, allocations: 0 / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.291, allocations: 0 / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.291, allocations: 3.938 kB / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.291, allocations: 4 kB / 0.5129 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.2913, allocations: 174 kB / 0.5131 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.2914, allocations: 89 kB / 0.5132 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.2914, allocations: 4 kB / 0.5132 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2915, allocations: 3.984 kB / 0.5132 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.2916, allocations: 8.031 kB / 0.5132 GB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2916, allocations: 0 / 0.5132 GB, free: 7.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.2917, allocations: 107.2 kB / 0.5133 GB, free: 7.242 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2917, allocations: 0 / 0.5133 GB, free: 7.242 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.292, allocations: 11.95 kB / 0.5133 GB, free: 7.23 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0006155/0.2927, allocations: 0.7719 MB / 0.514 GB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.2929, allocations: 23.98 kB / 0.5141 GB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2929, allocations: 160 / 0.5141 GB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.293, allocations: 15.94 kB / 0.5141 GB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.2934, allocations: 27.72 kB / 0.5141 GB, free: 6.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2945, allocations: 0.6251 MB / 0.5147 GB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.2949, allocations: 0.6887 MB / 0.5154 GB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.2949, allocations: 8 kB / 0.5154 GB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.295, allocations: 19.48 kB / 0.5154 GB, free: 4.938 MB / 362.7 MB Notification: Performance of SimCode: time 1.442e-06/0.295, allocations: 0 / 0.5154 GB, free: 4.938 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.3142, allocations: 1.289 MB / 0.5167 GB, free: 3.656 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.3145, allocations: 201.4 kB / 0.5169 GB, free: 3.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.576, allocations: 0 / 0.5169 GB, free: 3.414 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat does not exist to compare? outputFormat=mat