Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",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.001583/0.001582, allocations: 181.8 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.085/2.085, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001201/0.0012, allocations: 90.86 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.09498/0.09498, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005707, allocations: 17.38 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09583, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.2419, allocations: 78.35 MB / 0.5086 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.2423, allocations: 87.95 kB / 0.5087 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008607/0.2509, allocations: 1.983 MB / 0.5106 GB, free: 10.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.251, allocations: 0 / 0.5106 GB, free: 10.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.251, allocations: 0 / 0.5106 GB, free: 10.31 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.0005438/0.2515, allocations: 375 kB / 0.511 GB, free: 9.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2516, allocations: 8.031 kB / 0.511 GB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.2517, allocations: 34.55 kB / 0.511 GB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.2517, allocations: 11.91 kB / 0.511 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.252, allocations: 198.8 kB / 0.5112 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.252, allocations: 0 / 0.5112 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.252, allocations: 7.984 kB / 0.5112 GB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.2524, allocations: 105 kB / 0.5113 GB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.2525, allocations: 4 kB / 0.5113 GB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2525, allocations: 0 / 0.5113 GB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2525, allocations: 4 kB / 0.5113 GB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.2527, allocations: 23.92 kB / 0.5114 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.2531, allocations: 269.8 kB / 0.5116 GB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2533, allocations: 46.73 kB / 0.5117 GB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2533, allocations: 8.047 kB / 0.5117 GB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2534, allocations: 34.56 kB / 0.5117 GB, free: 9.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 4.619e-06/0.2534, allocations: 4 kB / 0.5117 GB, free: 9.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.2537, allocations: 73.52 kB / 0.5118 GB, free: 8.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.2538, allocations: 77.11 kB / 0.5119 GB, free: 8.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.254, allocations: 129.3 kB / 0.512 GB, free: 8.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.254, allocations: 25.7 kB / 0.512 GB, free: 8.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.2541, allocations: 92.38 kB / 0.5121 GB, free: 8.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.2541, allocations: 3.906 kB / 0.5121 GB, free: 8.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.2541, allocations: 0 / 0.5121 GB, free: 8.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2543, allocations: 322.8 kB / 0.5124 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.2544, allocations: 7.984 kB / 0.5124 GB, free: 8.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.701e-05/0.2545, allocations: 21.66 kB / 0.5124 GB, free: 8.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.2546, allocations: 20.05 kB / 0.5125 GB, free: 8.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2546, allocations: 0 / 0.5125 GB, free: 8.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.2548, allocations: 53.69 kB / 0.5125 GB, free: 8.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2548, allocations: 8 kB / 0.5125 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2548, allocations: 3.938 kB / 0.5125 GB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2549, allocations: 64 / 0.5125 GB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.255, allocations: 11.98 kB / 0.5125 GB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.255, allocations: 4 kB / 0.5125 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.2551, allocations: 3.938 kB / 0.5125 GB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.2551, allocations: 4 kB / 0.5125 GB, free: 8.098 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.0001196/0.2552, allocations: 125.5 kB / 0.5127 GB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2553, allocations: 41.59 kB / 0.5127 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2554, allocations: 7.875 kB / 0.5127 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2554, allocations: 8.031 kB / 0.5127 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2554, allocations: 0 / 0.5127 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2554, allocations: 4 kB / 0.5127 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.2557, allocations: 169.6 kB / 0.5129 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2557, allocations: 0 / 0.5129 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.701e-05/0.2558, allocations: 15.92 kB / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2558, allocations: 0 / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2558, allocations: 0 / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2558, allocations: 0 / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2558, allocations: 4 kB / 0.5129 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.2561, allocations: 178 kB / 0.5131 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2562, allocations: 89 kB / 0.5132 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.2563, allocations: 4 kB / 0.5132 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.2564, allocations: 4.031 kB / 0.5132 GB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.2564, allocations: 4 kB / 0.5132 GB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.2564, allocations: 0 / 0.5132 GB, free: 7.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.2566, 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.2566, allocations: 0 / 0.5133 GB, free: 7.242 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.2569, 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.0006411/0.2575, allocations: 0.7719 MB / 0.514 GB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.2577, allocations: 27.92 kB / 0.5141 GB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2578, allocations: 4.156 kB / 0.5141 GB, free: 6.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.2578, allocations: 8 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.0003367/0.2582, 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.0012/0.2594, allocations: 0.6268 MB / 0.5147 GB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.2598, allocations: 0.6926 MB / 0.5154 GB, free: 4.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.273e-05/0.2599, allocations: 7.984 kB / 0.5154 GB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2599, allocations: 15.5 kB / 0.5154 GB, free: 4.938 MB / 362.7 MB Notification: Performance of SimCode: time 1.163e-06/0.2599, allocations: 0 / 0.5154 GB, free: 4.938 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04021/0.3002, allocations: 1.299 MB / 0.5167 GB, free: 3.645 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/0.3006, allocations: 203.7 kB / 0.5169 GB, free: 3.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.556, allocations: 4 kB / 0.5169 GB, free: 3.398 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat