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.002487/0.002492, allocations: 188.4 kB / 15.81 MB, free: 6.027 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.462/2.462, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001159/0.001158, allocations: 102.8 kB / 270.3 MB, free: 13.34 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.1043/0.1043, allocations: 12.59 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005571/0.0005572, allocations: 12.97 kB / 392.1 MB, free: 54.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1076, allocations: 50.38 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0006442/0.1083, allocations: 224.2 kB / 442.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.1085, allocations: 67.84 kB / 442.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.1086, allocations: 4 kB / 442.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.1086, allocations: 0 / 442.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.824e-05/0.1087, allocations: 0 / 442.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1089, allocations: 15.92 kB / 442.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.77e-05/0.1089, allocations: 4 kB / 442.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.109, allocations: 0 / 442.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.109, allocations: 7.875 kB / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.109, allocations: 7.984 kB / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1091, allocations: 0 / 442.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.1091, allocations: 4 kB / 442.8 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.1091, allocations: 3.984 kB / 442.8 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.1091, allocations: 25.7 kB / 442.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 2.875e-05/0.1092, allocations: 0 / 442.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1092, allocations: 0 / 442.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1092, allocations: 4 kB / 442.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1092, allocations: 0 / 442.8 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.0002268/0.1094, allocations: 307.4 kB / 443.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1095, allocations: 12.09 kB / 443.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.1095, allocations: 34.55 kB / 443.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.1096, allocations: 7.906 kB / 443.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1097, allocations: 163 kB / 443.4 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1097, allocations: 3.953 kB / 443.4 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.1098, allocations: 4 kB / 443.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.11, allocations: 156.3 kB / 443.5 MB, free: 9.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.11, allocations: 79.28 kB / 443.6 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.1101, allocations: 150.6 kB / 443.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.1101, allocations: 150.6 kB / 443.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.1101, allocations: 154.6 kB / 444 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.1104, allocations: 445.9 kB / 444.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.151e-05/0.1104, allocations: 177.1 kB / 444.6 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1105, allocations: 79.23 kB / 444.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1105, allocations: 105.8 kB / 444.8 MB, free: 8.277 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.1105, allocations: 0 / 444.8 MB, free: 8.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.937e-05/0.1106, allocations: 29.7 kB / 444.9 MB, free: 8.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1107, allocations: 130.7 kB / 445 MB, free: 8.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.1107, allocations: 89.86 kB / 445.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1107, allocations: 25.7 kB / 445.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.1108, allocations: 84.14 kB / 445.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.1108, allocations: 3.938 kB / 445.2 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-07/0.1108, allocations: 4 kB / 445.2 MB, free: 7.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.1109, allocations: 310.8 kB / 445.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-06/0.1109, allocations: 128 / 445.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-06/0.1109, allocations: 4 kB / 445.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.724e-05/0.1109, allocations: 79.27 kB / 445.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.1109, allocations: 75.28 kB / 445.6 MB, free: 7.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.526e-05/0.111, allocations: 29.7 kB / 445.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.111, allocations: 83.23 kB / 445.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.1111, allocations: 79.22 kB / 445.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.161e-05/0.1111, allocations: 154.9 kB / 446 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.479e-05/0.1111, allocations: 83.28 kB / 446.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.301e-05/0.1112, allocations: 162.5 kB / 446.2 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.1113, allocations: 79.27 kB / 446.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1113, allocations: 79.22 kB / 446.4 MB, free: 6.664 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.655e-05/0.1114, allocations: 264.2 kB / 446.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.1114, allocations: 105 kB / 446.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.1115, allocations: 111.8 kB / 446.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/0.1115, allocations: 184.2 kB / 447 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-05/0.1116, allocations: 184.2 kB / 447.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-05/0.1116, allocations: 180.2 kB / 447.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1118, allocations: 393.2 kB / 447.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/0.1118, allocations: 117 kB / 447.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.1119, allocations: 109.8 kB / 448 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.622e-05/0.1119, allocations: 176.3 kB / 448.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.112, allocations: 180.2 kB / 448.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.712e-05/0.112, allocations: 188.2 kB / 448.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.754e-05/0.1121, allocations: 184.2 kB / 448.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.52e-05/0.1121, allocations: 308.2 kB / 449 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.1122, allocations: 182 kB / 449.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.1123, allocations: 176.3 kB / 449.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1123, allocations: 117 kB / 449.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1124, allocations: 184.2 kB / 449.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.1124, allocations: 105 kB / 449.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.913e-05/0.1125, allocations: 75.28 kB / 449.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1125, allocations: 0 / 449.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.1128, allocations: 0 / 449.8 MB, free: 2.988 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.0002827/0.1131, allocations: 0.8049 MB / 450.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 3.733e-05/0.1131, allocations: 4 kB / 450.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1132, allocations: 0 / 450.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.1132, allocations: 0 / 450.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1135, allocations: 0.5299 MB / 451.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.114, allocations: 494.5 kB / 451.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.1142, allocations: 0.6731 MB / 452.3 MB, free: 400 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.358e-06/0.1142, allocations: 0 / 452.3 MB, free: 400 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.1142, allocations: 15.45 kB / 452.3 MB, free: 384 kB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1142, allocations: 7.938 kB / 452.3 MB, free: 376 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.1356, allocations: 0.7013 MB / 453 MB, free: 15.68 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004208/0.1361, allocations: 206.9 kB / 453.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.512, allocations: 0 / 453.2 MB, free: 15.43 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)