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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001592, allocations: 175.4 kB / 16.63 MB, free: 6.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08817/0.08817, allocations: 12.61 MB / 283.7 MB, free: 8.68 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008209/0.0008211, allocations: 20 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1194, allocations: 50.38 MB / 394.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0006696/0.1202, allocations: 227 kB / 395.1 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.1205, allocations: 71.84 kB / 395.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.1205, allocations: 0 / 395.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.1206, allocations: 0 / 395.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.379e-05/0.1206, allocations: 0 / 395.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1208, allocations: 15.92 kB / 395.2 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.951e-05/0.1209, allocations: 4 kB / 395.2 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.125e-05/0.1209, allocations: 7.984 kB / 395.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.121, allocations: 7.938 kB / 395.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.121, allocations: 0 / 395.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.121, allocations: 0 / 395.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.121, allocations: 3.938 kB / 395.2 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.1211, allocations: 4 kB / 395.2 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.1211, allocations: 29.7 kB / 395.3 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.378e-05/0.1211, allocations: 3.984 kB / 395.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1211, allocations: 0 / 395.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1211, allocations: 0 / 395.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1212, allocations: 0 / 395.3 MB, free: 2.422 MB / 286.1 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.0003005/0.1215, allocations: 323.3 kB / 395.6 MB, free: 2.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1215, allocations: 11.97 kB / 395.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.1216, allocations: 0 / 395.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1217, allocations: 167 kB / 395.8 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1218, allocations: 0 / 395.8 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1218, allocations: 3.953 kB / 395.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.122, allocations: 156.3 kB / 395.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.1221, allocations: 79.28 kB / 396 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.1221, allocations: 150.6 kB / 396.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.1222, allocations: 150.6 kB / 396.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.213e-05/0.1222, allocations: 150.6 kB / 396.4 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.1225, allocations: 449.9 kB / 396.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.696e-05/0.1226, allocations: 173.1 kB / 397.1 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.1227, allocations: 84.14 kB / 397.1 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.1227, allocations: 79.23 kB / 397.2 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.1228, allocations: 109.8 kB / 397.3 MB, free: 200 kB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1228, allocations: 0 / 397.3 MB, free: 200 kB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.379e-05/0.1228, allocations: 29.7 kB / 397.4 MB, free: 164 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1229, allocations: 126.7 kB / 397.5 MB, free: 24 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.123, allocations: 93.86 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.123, allocations: 25.7 kB / 397.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1231, allocations: 80.27 kB / 397.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.1231, allocations: 7.938 kB / 397.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.1231, allocations: 3.938 kB / 397.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1232, allocations: 314.8 kB / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-06/0.1232, allocations: 0 / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-06/0.1232, allocations: 0 / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.1232, allocations: 75.28 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.83e-05/0.1233, allocations: 79.28 kB / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.078e-05/0.1233, allocations: 25.7 kB / 398.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.1234, allocations: 88.48 kB / 398.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.1234, allocations: 87.22 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.357e-05/0.1235, allocations: 150.6 kB / 398.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.1235, allocations: 75.28 kB / 398.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.78e-05/0.1236, allocations: 162.5 kB / 398.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.1237, allocations: 79.28 kB / 398.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.1237, allocations: 83.22 kB / 398.9 MB, free: 14.58 MB / 302.1 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 0.0001216/0.1238, allocations: 264.2 kB / 399.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.1239, allocations: 102 kB / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.1239, allocations: 115.8 kB / 399.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.421e-05/0.124, allocations: 184.2 kB / 399.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.623e-05/0.1241, allocations: 180.3 kB / 399.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.059e-05/0.1241, allocations: 180.2 kB / 399.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.1244, allocations: 413.2 kB / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/0.1244, allocations: 101 kB / 400.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.1244, allocations: 108.9 kB / 400.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.303e-05/0.1245, allocations: 180.3 kB / 400.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.1246, allocations: 184.5 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.596e-05/0.1246, allocations: 180.2 kB / 401 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.897e-05/0.1247, allocations: 188.2 kB / 401.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1248, allocations: 299.8 kB / 401.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.1249, allocations: 186 kB / 401.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.125, allocations: 188.2 kB / 401.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.1251, allocations: 104.9 kB / 402 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.1252, allocations: 180.2 kB / 402.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.1252, allocations: 101 kB / 402.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.1252, allocations: 79.28 kB / 402.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1252, allocations: 4.094 kB / 402.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1255, allocations: 0 / 402.3 MB, free: 10.91 MB / 302.1 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.000119/0.1256, allocations: 174.4 kB / 402.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.227e-05/0.1257, allocations: 0 / 402.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1257, allocations: 0 / 402.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.1257, allocations: 4 kB / 402.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1261, allocations: 0.5263 MB / 403 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.1263, allocations: 150.1 kB / 403.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1265, allocations: 0.6692 MB / 403.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.325e-06/0.1265, allocations: 0 / 403.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.1265, allocations: 7.438 kB / 403.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1266, allocations: 0 / 403.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of Templates: time 0.002088/0.1286, allocations: 164.1 kB / 404 MB, free: 9.152 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile Environment - environmentSimulation: (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 & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1) Environment - environmentSimulation: