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.001509/0.001509, allocations: 182.2 kB / 13.23 MB, free: 2.086 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.21/2.21, allocations: 205.2 MB / 219 MB, free: 9.199 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.001174/0.001174, allocations: 100.7 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1097/0.1097, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.427e-05, allocations: 4 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09712, allocations: 50.37 MB / 436.5 MB, free: 19.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.5687, allocations: 76.09 MB / 0.5005 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.569, allocations: 56.2 kB / 0.5006 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004912/0.574, allocations: 1.402 MB / 0.502 GB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.574, allocations: 0 / 0.502 GB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.5741, allocations: 0 / 0.502 GB, free: 11.54 MB / 330.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.0002332/0.5743, allocations: 310.1 kB / 0.5023 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.5744, allocations: 14.97 kB / 0.5023 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.5744, allocations: 34.55 kB / 0.5023 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.5744, allocations: 3.375 kB / 0.5023 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.5746, allocations: 165.4 kB / 0.5025 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5746, allocations: 7.859 kB / 0.5025 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.5747, allocations: 0 / 0.5025 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.5749, allocations: 149.9 kB / 0.5026 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.5749, allocations: 81.03 kB / 0.5027 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.575, allocations: 154.6 kB / 0.5028 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.575, allocations: 150.6 kB / 0.503 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.575, allocations: 154.5 kB / 0.5031 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.5753, allocations: 443.7 kB / 0.5036 GB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.5753, allocations: 173 kB / 0.5037 GB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.5754, allocations: 84.36 kB / 0.5038 GB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.5754, allocations: 75.28 kB / 0.5039 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.5754, allocations: 109.8 kB / 0.504 GB, free: 9.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.874e-06/0.5754, allocations: 0 / 0.504 GB, free: 9.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.258e-05/0.5755, allocations: 31.64 kB / 0.504 GB, free: 9.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.5756, allocations: 133.3 kB / 0.5041 GB, free: 9.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.448e-05/0.5756, allocations: 88.84 kB / 0.5042 GB, free: 9.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.5756, allocations: 25.7 kB / 0.5042 GB, free: 9.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.811e-05/0.5757, allocations: 82.77 kB / 0.5043 GB, free: 8.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.5757, allocations: 0 / 0.5043 GB, free: 8.977 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-07/0.5757, allocations: 0 / 0.5043 GB, free: 8.977 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.5758, allocations: 310.8 kB / 0.5046 GB, free: 8.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-06/0.5758, allocations: 8.062 kB / 0.5046 GB, free: 8.656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-06/0.5758, allocations: 0 / 0.5046 GB, free: 8.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.723e-05/0.5758, allocations: 79.12 kB / 0.5047 GB, free: 8.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.5758, allocations: 79.22 kB / 0.5048 GB, free: 8.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.396e-05/0.5759, allocations: 28.66 kB / 0.5048 GB, free: 8.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.5759, allocations: 86.89 kB / 0.5049 GB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.576, allocations: 75.28 kB / 0.505 GB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.136e-05/0.576, allocations: 156.6 kB / 0.5051 GB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.649e-05/0.576, allocations: 79.28 kB / 0.5052 GB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.305e-05/0.5761, allocations: 158.3 kB / 0.5053 GB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.5762, allocations: 78.05 kB / 0.5054 GB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.5762, allocations: 78.09 kB / 0.5055 GB, free: 7.789 MB / 330.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 () * 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 7.15e-05/0.5763, allocations: 259.3 kB / 0.5057 GB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.5763, allocations: 112.8 kB / 0.5058 GB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.5764, allocations: 111 kB / 0.506 GB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.531e-05/0.5764, allocations: 183.1 kB / 0.5061 GB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-05/0.5765, allocations: 180.2 kB / 0.5063 GB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.629e-05/0.5765, allocations: 176.3 kB / 0.5065 GB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.5767, allocations: 407.7 kB / 0.5069 GB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.5767, allocations: 101 kB / 0.507 GB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.5768, allocations: 115.1 kB / 0.5071 GB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.541e-05/0.5768, allocations: 176.3 kB / 0.5072 GB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.5768, allocations: 180.3 kB / 0.5074 GB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.679e-05/0.5769, allocations: 184.2 kB / 0.5076 GB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-05/0.5769, allocations: 190.7 kB / 0.5078 GB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.303e-05/0.577, allocations: 301.9 kB / 0.508 GB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.5771, allocations: 181.2 kB / 0.5082 GB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.5772, allocations: 182.7 kB / 0.5084 GB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.5772, allocations: 101 kB / 0.5085 GB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.5773, allocations: 192 kB / 0.5087 GB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.5773, allocations: 101 kB / 0.5088 GB, free: 4.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.612e-05/0.5774, allocations: 77.77 kB / 0.5088 GB, free: 4.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5774, allocations: 0 / 0.5088 GB, free: 4.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002905/0.5777, allocations: 0 / 0.5088 GB, free: 4.184 MB / 330.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 () * 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.0004831/0.5782, allocations: 0.8098 MB / 0.5096 GB, free: 19.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 3.842e-05/0.5782, allocations: 0 / 0.5096 GB, free: 19.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5782, allocations: 3.938 kB / 0.5096 GB, free: 19.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.355e-06/0.5782, allocations: 0 / 0.5096 GB, free: 19.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.5786, allocations: 0.5224 MB / 0.5101 GB, free: 18.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.579, allocations: 152.6 kB / 0.5103 GB, free: 18.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.5794, allocations: 0.6807 MB / 0.511 GB, free: 17.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.138e-05/0.5794, allocations: 2.438 kB / 0.511 GB, free: 17.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.5794, allocations: 7.438 kB / 0.511 GB, free: 17.95 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5794, allocations: 0 / 0.511 GB, free: 17.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.6004, allocations: 0.715 MB / 0.5117 GB, free: 17.7 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/0.6008, allocations: 170.8 kB / 0.5118 GB, free: 17.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/2.83, allocations: 4 kB / 0.5118 GB, free: 17.48 MB / 346.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)