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.0009179/0.0009179, allocations: 172.4 kB / 16.14 MB, free: 5.656 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.652/1.652, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0008129/0.0008129, allocations: 84.95 kB / 270.7 MB, free: 8.246 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.07789/0.07789, allocations: 12.59 MB / 331.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09141, allocations: 50.36 MB / 443.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.000576/0.09202, allocations: 242.4 kB / 443.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002206/0.09227, allocations: 63.83 kB / 443.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.09233, allocations: 0 / 443.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.09236, allocations: 0 / 443.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.742e-05/0.09238, allocations: 0 / 443.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.09258, allocations: 15.98 kB / 443.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.24e-05/0.09263, allocations: 4 kB / 443.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.09269, allocations: 3.984 kB / 443.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.112e-05/0.09272, allocations: 0 / 443.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.09277, allocations: 8 kB / 443.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.09279, allocations: 3.938 kB / 443.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.09281, allocations: 7.938 kB / 443.5 MB, free: 15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.09283, allocations: 3.938 kB / 443.5 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.09287, allocations: 25.7 kB / 443.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.82e-05/0.09293, allocations: 7.984 kB / 443.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.09293, allocations: 0 / 443.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09294, allocations: 0 / 443.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.09295, allocations: 0 / 443.5 MB, free: 14.96 MB / 298.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.0002439/0.0932, allocations: 319.5 kB / 443.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.09326, allocations: 8.031 kB / 443.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.09329, allocations: 34.69 kB / 443.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.09332, allocations: 8.938 kB / 443.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.09347, allocations: 164.4 kB / 444 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.09349, allocations: 4.359 kB / 444 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.0935, allocations: 4.359 kB / 444 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.0937, allocations: 152.9 kB / 444.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.09373, allocations: 83.22 kB / 444.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.09375, allocations: 150.6 kB / 444.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.09378, allocations: 150.6 kB / 444.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.09381, allocations: 158.5 kB / 444.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.09406, allocations: 445.9 kB / 445.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.09412, allocations: 169.1 kB / 445.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.09414, allocations: 84.19 kB / 445.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.09416, allocations: 79.28 kB / 445.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.09419, allocations: 105.8 kB / 445.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.0942, allocations: 4 kB / 445.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.541e-05/0.09427, allocations: 33.58 kB / 445.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.09431, allocations: 130.7 kB / 445.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.09437, allocations: 93.84 kB / 445.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.902e-06/0.09439, allocations: 25.7 kB / 445.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.183e-05/0.0944, allocations: 80.14 kB / 445.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.09441, allocations: 0 / 445.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-07/0.09441, allocations: 0 / 445.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.09447, allocations: 319 kB / 446.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-06/0.09448, allocations: 0 / 446.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/0.09448, allocations: 4 kB / 446.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.191e-05/0.0945, allocations: 75.28 kB / 446.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.09452, allocations: 75.28 kB / 446.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.827e-05/0.09457, allocations: 29.64 kB / 446.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.0946, allocations: 87.22 kB / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.09462, allocations: 75.28 kB / 446.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.09465, allocations: 162.5 kB / 446.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.124e-05/0.09467, allocations: 79.22 kB / 446.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.0947, allocations: 154.6 kB / 447 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.09476, allocations: 87.16 kB / 447.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.09477, allocations: 75.28 kB / 447.1 MB, free: 11.07 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/0.09484, allocations: 261.3 kB / 447.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.09488, allocations: 112.9 kB / 447.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.09491, allocations: 111.9 kB / 447.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.09494, allocations: 176.3 kB / 447.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/0.09498, allocations: 184.2 kB / 448 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.095, allocations: 180.3 kB / 448.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.09514, allocations: 405.2 kB / 448.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.09516, allocations: 105 kB / 448.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.09518, allocations: 101 kB / 448.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.859e-05/0.09522, allocations: 192.5 kB / 448.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.09525, allocations: 176.3 kB / 449.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.717e-05/0.09528, allocations: 192.2 kB / 449.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.457e-05/0.09531, allocations: 180.3 kB / 449.5 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.664e-05/0.09538, allocations: 299.8 kB / 449.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.09542, allocations: 186.1 kB / 449.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.09545, allocations: 184.1 kB / 450.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.09551, allocations: 105 kB / 450.2 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.09554, allocations: 180.2 kB / 450.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.09556, allocations: 105 kB / 450.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.952e-05/0.09558, allocations: 79.28 kB / 450.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09559, allocations: 0 / 450.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.09582, allocations: 0 / 450.6 MB, free: 7.406 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002479/0.09607, allocations: 0.8048 MB / 451.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.884e-05/0.09612, allocations: 4 kB / 451.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.09613, allocations: 0 / 451.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.09614, allocations: 4 kB / 451.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.09641, allocations: 0.5224 MB / 451.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.09707, allocations: 1.518 MB / 453.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.09718, allocations: 0.6692 MB / 454.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.646e-06/0.0972, allocations: 4 kB / 454.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.09722, allocations: 7.438 kB / 454.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.09723, allocations: 0 / 454.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00807/0.1053, allocations: 0.7455 MB / 454.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.1055, allocations: 220.5 kB / 455.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/1.581, allocations: 0 / 455.1 MB, free: 2.73 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)