Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.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.WorkInProgress.Tests.TestSuperSampleClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock",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.001549/0.001548, allocations: 178.2 kB / 15.8 MB, free: 6.34 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.037/2.037, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001138/0.001137, allocations: 94.88 kB / 270.3 MB, free: 13.37 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.09823/0.09823, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005573/0.0005574, allocations: 13.06 kB / 392.1 MB, free: 54.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09761, allocations: 50.37 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.2363, allocations: 76.17 MB / 0.5065 GB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.2365, allocations: 55.97 kB / 0.5065 GB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005515/0.2421, allocations: 1.404 MB / 0.5079 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2421, allocations: 0 / 0.5079 GB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2421, allocations: 0 / 0.5079 GB, free: 13.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003291/0.2425, allocations: 315.4 kB / 0.5082 GB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.2425, allocations: 8.031 kB / 0.5082 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.2426, allocations: 34.56 kB / 0.5083 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.2426, allocations: 7.906 kB / 0.5083 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.2428, allocations: 163.1 kB / 0.5084 GB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.2429, allocations: 11.95 kB / 0.5084 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2429, allocations: 4 kB / 0.5084 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.2431, allocations: 148.3 kB / 0.5086 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.2432, allocations: 75.28 kB / 0.5086 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/0.2433, allocations: 154.6 kB / 0.5088 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.704e-05/0.2434, allocations: 162.4 kB / 0.5089 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.2434, allocations: 150.6 kB / 0.5091 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.2438, allocations: 445.9 kB / 0.5095 GB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.2439, allocations: 165.1 kB / 0.5097 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.2439, allocations: 87.23 kB / 0.5098 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.244, allocations: 109.8 kB / 0.5099 GB, free: 10.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.993e-06/0.244, allocations: 0 / 0.5099 GB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.473e-05/0.2441, allocations: 29.7 kB / 0.5099 GB, free: 10.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.2442, allocations: 126.7 kB / 0.51 GB, free: 10.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.2443, allocations: 89 kB / 0.5101 GB, free: 10.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2443, allocations: 25.7 kB / 0.5101 GB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.992e-05/0.2444, allocations: 80.14 kB / 0.5102 GB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-06/0.2444, allocations: 0 / 0.5102 GB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.2444, allocations: 3.938 kB / 0.5102 GB, free: 10.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2446, allocations: 318.8 kB / 0.5105 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-06/0.2446, allocations: 0 / 0.5105 GB, free: 10.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.2446, allocations: 0 / 0.5105 GB, free: 10.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.2446, allocations: 79.28 kB / 0.5106 GB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.926e-05/0.2447, allocations: 79.41 kB / 0.5107 GB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.762e-05/0.2448, allocations: 33.64 kB / 0.5107 GB, free: 10 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.2448, allocations: 83.23 kB / 0.5108 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.691e-05/0.2449, allocations: 75.86 kB / 0.5108 GB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.796e-05/0.245, allocations: 154.5 kB / 0.511 GB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.829e-05/0.245, allocations: 83.28 kB / 0.5111 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.371e-05/0.2451, allocations: 158.5 kB / 0.5112 GB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.2452, allocations: 79.28 kB / 0.5113 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.2452, allocations: 75.28 kB / 0.5114 GB, free: 9.305 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001502/0.2454, allocations: 268.2 kB / 0.5116 GB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2455, allocations: 108.9 kB / 0.5117 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.2456, allocations: 111.8 kB / 0.5118 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.549e-05/0.2457, allocations: 188.2 kB / 0.512 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.298e-05/0.2458, allocations: 180.3 kB / 0.5122 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.777e-05/0.2459, allocations: 180.3 kB / 0.5124 GB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.2462, allocations: 403 kB / 0.5127 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.702e-05/0.2462, allocations: 101 kB / 0.5128 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.2463, allocations: 108.9 kB / 0.5129 GB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.959e-05/0.2464, allocations: 180.3 kB / 0.5131 GB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/0.2465, allocations: 180.3 kB / 0.5133 GB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.283e-05/0.2466, allocations: 184.2 kB / 0.5135 GB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.439e-05/0.2467, allocations: 188.2 kB / 0.5136 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.2468, allocations: 311.8 kB / 0.5139 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.2469, allocations: 178.1 kB / 0.5141 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2471, allocations: 188.1 kB / 0.5143 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.2472, allocations: 101 kB / 0.5144 GB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.2473, allocations: 188.2 kB / 0.5146 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.2473, allocations: 101.5 kB / 0.5147 GB, free: 5.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.631e-05/0.2474, allocations: 79.28 kB / 0.5147 GB, free: 5.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2474, allocations: 0 / 0.5147 GB, free: 5.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.2477, allocations: 0 / 0.5147 GB, free: 5.629 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005751/0.2483, allocations: 0.809 MB / 0.5155 GB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.525e-05/0.2484, allocations: 8 kB / 0.5155 GB, free: 4.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2484, allocations: 0 / 0.5155 GB, free: 4.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.2484, allocations: 0 / 0.5155 GB, free: 4.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.2488, allocations: 0.526 MB / 0.516 GB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.2495, allocations: 0.4977 MB / 0.5165 GB, free: 3.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2498, allocations: 0.6731 MB / 0.5172 GB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.1e-05/0.2499, allocations: 0 / 0.5172 GB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.2499, allocations: 11.44 kB / 0.5172 GB, free: 3 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2499, allocations: 0 / 0.5172 GB, free: 3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.2679, allocations: 0.6968 MB / 0.5179 GB, free: 2.316 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003762/0.2684, allocations: 204.1 kB / 0.5181 GB, free: 2.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.463, allocations: 0 / 0.5181 GB, free: 2.07 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock_fmu --startTime=0 --stopTime=5e-05 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)