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.002036/0.002036, allocations: 181 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001135/0.001135, allocations: 95.92 kB / 261.8 MB, free: 13.45 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.1197/0.1197, allocations: 12.59 MB / 322.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.084e-05, allocations: 0 / 379 MB, free: 75.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09609, allocations: 50.38 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5421, allocations: 75.42 MB / 0.493 GB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.5424, allocations: 58.61 kB / 0.4931 GB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004726/0.5471, allocations: 1.393 MB / 0.4944 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5472, allocations: 3.625 kB / 0.4944 GB, free: 11.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.5472, allocations: 0 / 0.4944 GB, free: 11.69 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.0002256/0.5474, allocations: 310.2 kB / 0.4947 GB, free: 11.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5475, allocations: 9.312 kB / 0.4947 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.5475, allocations: 0 / 0.4947 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.5477, allocations: 169.6 kB / 0.4949 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.5477, allocations: 0 / 0.4949 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-06/0.5477, allocations: 8.453 kB / 0.4949 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.875e-05/0.5478, allocations: 5.344 kB / 0.4949 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.548, allocations: 152.5 kB / 0.495 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.548, allocations: 75.28 kB / 0.4951 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.5481, allocations: 150.6 kB / 0.4953 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.5481, allocations: 150.6 kB / 0.4954 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.5483, allocations: 425.7 kB / 0.4958 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.58e-05/0.5484, allocations: 176.2 kB / 0.496 GB, free: 10 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.288e-05/0.5484, allocations: 80.14 kB / 0.496 GB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.5485, allocations: 75.28 kB / 0.4961 GB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.5485, allocations: 109.8 kB / 0.4962 GB, free: 9.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.5485, allocations: 4 kB / 0.4962 GB, free: 9.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.505e-05/0.5486, allocations: 25.7 kB / 0.4963 GB, free: 9.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.5486, allocations: 55.25 kB / 0.4963 GB, free: 9.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.5487, allocations: 87.67 kB / 0.4964 GB, free: 9.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.5487, allocations: 25.7 kB / 0.4964 GB, free: 9.508 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.925e-05/0.5487, allocations: 87.52 kB / 0.4965 GB, free: 9.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.5487, allocations: 0 / 0.4965 GB, free: 9.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-07/0.5488, allocations: 0 / 0.4965 GB, free: 9.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.5488, allocations: 315 kB / 0.4968 GB, free: 9.105 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.5488, allocations: 0 / 0.4968 GB, free: 9.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/0.5489, allocations: 7.812 kB / 0.4968 GB, free: 9.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.749e-05/0.5489, allocations: 75.28 kB / 0.4969 GB, free: 9.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.5489, allocations: 75.28 kB / 0.4969 GB, free: 8.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.574e-05/0.549, allocations: 25.7 kB / 0.497 GB, free: 8.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.549, allocations: 85.66 kB / 0.4971 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.549, allocations: 75.28 kB / 0.4971 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.777e-05/0.5491, allocations: 162.5 kB / 0.4973 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.549e-05/0.5491, allocations: 75.28 kB / 0.4974 GB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-05/0.5492, allocations: 154.7 kB / 0.4975 GB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.5492, allocations: 86.28 kB / 0.4976 GB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.5493, allocations: 77.91 kB / 0.4977 GB, free: 8.234 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.777e-05/0.5494, allocations: 255.5 kB / 0.4979 GB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.438e-05/0.5494, allocations: 134.5 kB / 0.498 GB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.5495, allocations: 107.8 kB / 0.4981 GB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.5495, allocations: 112.4 kB / 0.4982 GB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/0.5496, allocations: 184.1 kB / 0.4984 GB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-05/0.5497, allocations: 176.3 kB / 0.4986 GB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.943e-05/0.5497, allocations: 183.2 kB / 0.4988 GB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.5499, allocations: 385.6 kB / 0.4991 GB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.55, allocations: 103.7 kB / 0.4992 GB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.55, allocations: 101 kB / 0.4993 GB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.009e-05/0.55, allocations: 184.1 kB / 0.4995 GB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.5501, allocations: 180.1 kB / 0.4997 GB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.314e-05/0.5501, allocations: 191.6 kB / 0.4999 GB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-05/0.5502, allocations: 180.2 kB / 0.5 GB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.985e-05/0.5503, allocations: 306.2 kB / 0.5003 GB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.5506, allocations: 181.7 kB / 0.5005 GB, free: 21.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.5507, allocations: 180.3 kB / 0.5007 GB, free: 21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.5508, allocations: 107.8 kB / 0.5008 GB, free: 20.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.551, allocations: 184.2 kB / 0.5009 GB, free: 20.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.551, allocations: 101.5 kB / 0.501 GB, free: 20.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.819e-05/0.5511, allocations: 75.28 kB / 0.5011 GB, free: 20.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5511, allocations: 0 / 0.5011 GB, free: 20.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.5514, allocations: 3.812 kB / 0.5011 GB, free: 20.53 MB / 346.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.000511/0.552, allocations: 0.8066 MB / 0.5019 GB, free: 19.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 3.748e-05/0.552, allocations: 0 / 0.5019 GB, free: 19.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.552, allocations: 3.938 kB / 0.5019 GB, free: 19.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.552, allocations: 0 / 0.5019 GB, free: 19.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.5525, allocations: 0.5261 MB / 0.5024 GB, free: 19.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.5529, allocations: 146.3 kB / 0.5026 GB, free: 19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.5532, allocations: 0.6793 MB / 0.5032 GB, free: 18.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.5532, allocations: 0 / 0.5032 GB, free: 18.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.5533, allocations: 13.25 kB / 0.5032 GB, free: 18.29 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5533, allocations: 0 / 0.5032 GB, free: 18.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.5871, allocations: 405.8 kB / 0.5036 GB, free: 18.25 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.5874, allocations: 166.9 kB / 0.5038 GB, free: 18.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.835, allocations: 0 / 0.5038 GB, free: 18.05 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)