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.001455/0.001455, allocations: 174.7 kB / 15.81 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0008446/0.0008449, allocations: 98.23 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.08659/0.08659, allocations: 12.59 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004691, allocations: 12.94 kB / 392.1 MB, free: 54.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.0997, allocations: 50.38 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0006075/0.1004, allocations: 224.1 kB / 442.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002272/0.1006, allocations: 67.86 kB / 442.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.1007, allocations: 0 / 442.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.1007, allocations: 8 kB / 442.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.248e-05/0.1007, allocations: 0 / 442.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.1009, allocations: 19.91 kB / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.069e-05/0.101, allocations: 4 kB / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.101, allocations: 0 / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.101, allocations: 0 / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.1011, allocations: 4 kB / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1011, allocations: 0 / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-06/0.1011, allocations: 3.938 kB / 442.8 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.1012, allocations: 0 / 442.8 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.1012, allocations: 25.7 kB / 442.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.572e-05/0.1012, allocations: 15.97 kB / 442.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1012, allocations: 0 / 442.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1012, allocations: 0 / 442.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1012, allocations: 0 / 442.9 MB, free: 10.45 MB / 282.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.0002308/0.1015, allocations: 307.4 kB / 443.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1015, allocations: 16.03 kB / 443.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.1016, allocations: 30.56 kB / 443.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.1016, allocations: 3.906 kB / 443.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1017, allocations: 167 kB / 443.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1018, allocations: 11.95 kB / 443.4 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1018, allocations: 0 / 443.4 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.102, allocations: 156.3 kB / 443.5 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.102, allocations: 75.28 kB / 443.6 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.102, allocations: 158.6 kB / 443.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.1021, allocations: 150.6 kB / 443.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.1021, allocations: 150.6 kB / 444.1 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1023, allocations: 442 kB / 444.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.1024, allocations: 173.1 kB / 444.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.1024, allocations: 84.09 kB / 444.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.1024, allocations: 83.27 kB / 444.8 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1025, allocations: 105.8 kB / 444.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1025, allocations: 0 / 444.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 7.012e-05/0.1025, allocations: 29.64 kB / 445 MB, free: 8.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1026, allocations: 130.7 kB / 445.1 MB, free: 8.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.1026, allocations: 97.86 kB / 445.2 MB, free: 7.902 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.1027, allocations: 25.7 kB / 445.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.692e-05/0.1027, allocations: 80.14 kB / 445.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.1027, allocations: 3.938 kB / 445.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1027, allocations: 0 / 445.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.1028, allocations: 310.8 kB / 445.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-06/0.1028, allocations: 0 / 445.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-06/0.1028, allocations: 128 / 445.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.407e-05/0.1028, allocations: 79.28 kB / 445.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.1028, allocations: 79.27 kB / 445.7 MB, free: 7.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.338e-05/0.1029, allocations: 34.02 kB / 445.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1029, allocations: 83.22 kB / 445.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.1029, allocations: 83.28 kB / 445.9 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.103, allocations: 150.6 kB / 446.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.171e-05/0.103, allocations: 83.22 kB / 446.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.103, allocations: 158.5 kB / 446.3 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.526e-05/0.1031, allocations: 79.22 kB / 446.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1031, allocations: 83.27 kB / 446.5 MB, free: 6.566 MB / 282.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 7.049e-05/0.1032, allocations: 260.2 kB / 446.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1032, allocations: 104.9 kB / 446.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.1033, allocations: 123.8 kB / 447 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.1033, allocations: 176.3 kB / 447.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.528e-05/0.1033, allocations: 184.2 kB / 447.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.1034, allocations: 176.3 kB / 447.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1035, allocations: 401.2 kB / 447.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.1036, allocations: 108.9 kB / 448 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.1036, allocations: 108.9 kB / 448.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.168e-05/0.1036, allocations: 180.2 kB / 448.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.1037, allocations: 184.2 kB / 448.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.163e-05/0.1037, allocations: 176.3 kB / 448.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.153e-05/0.1037, allocations: 184.2 kB / 448.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.013e-05/0.1038, allocations: 316.1 kB / 449.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.1039, allocations: 178.1 kB / 449.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.1039, allocations: 180.3 kB / 449.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.104, allocations: 120.9 kB / 449.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.104, allocations: 180.3 kB / 449.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.104, allocations: 104.9 kB / 449.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.1041, allocations: 79.28 kB / 449.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.1041, allocations: 0 / 449.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000255/0.1043, allocations: 3.938 kB / 449.9 MB, free: 2.883 MB / 282.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.0002633/0.1046, allocations: 0.8011 MB / 450.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 3.769e-05/0.1046, allocations: 3.938 kB / 450.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1046, allocations: 0 / 450.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.1047, allocations: 0 / 450.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.105, allocations: 0.53 MB / 451.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.1055, allocations: 489.7 kB / 451.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1056, allocations: 0.6692 MB / 452.4 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.156e-05/0.1057, allocations: 4.031 kB / 452.4 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.1057, allocations: 7.438 kB / 452.4 MB, free: 292 kB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1057, allocations: 4.031 kB / 452.4 MB, free: 288 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.1167, allocations: 0.7327 MB / 453.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.1171, allocations: 216.9 kB / 453.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/1.594, allocations: 0 / 453.4 MB, free: 15.31 MB / 298.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)