Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 183.2 kB / 16.45 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.411/1.411, allocations: 205.4 MB / 222.6 MB, free: 9.094 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.0007683/0.0007686, allocations: 101.4 kB / 270.9 MB, free: 8.344 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.08498/0.08498, allocations: 12.58 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004677, allocations: 12 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.001699/0.1089, allocations: 1.455 MB / 444.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.1095, allocations: 0.5155 MB / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.1096, allocations: 4 kB / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1098, allocations: 15.86 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.1098, allocations: 7.938 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1101, allocations: 55.86 kB / 445.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1102, allocations: 107.6 kB / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1104, allocations: 77.28 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.164e-05/0.1105, allocations: 39.78 kB / 445.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.1106, allocations: 39.78 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1106, allocations: 4 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.1106, allocations: 0 / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1107, allocations: 35.89 kB / 445.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.1107, allocations: 41.58 kB / 445.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.604e-05/0.1108, allocations: 96 kB / 445.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1108, allocations: 0 / 445.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1108, allocations: 0 / 445.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1109, allocations: 4 kB / 445.5 MB, free: 13.28 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005225/0.1114, allocations: 426.9 kB / 445.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1114, allocations: 8.031 kB / 445.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.1115, allocations: 15.81 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1117, allocations: 230.5 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1117, allocations: 11.98 kB / 446.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1118, allocations: 12 kB / 446.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.1123, allocations: 348.5 kB / 446.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1124, allocations: 0 / 446.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1124, allocations: 4 kB / 446.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.1124, allocations: 4 kB / 446.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.1126, allocations: 119.8 kB / 446.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.1132, allocations: 466.4 kB / 447.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.1135, allocations: 246.4 kB / 447.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.1137, allocations: 143.2 kB / 447.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1137, allocations: 8.219 kB / 447.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1138, allocations: 34.56 kB / 447.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.1138, allocations: 0 / 447.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005081/0.1143, allocations: 281.3 kB / 447.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.1144, allocations: 140.9 kB / 448 MB, free: 10.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.1145, allocations: 154.2 kB / 448.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1145, allocations: 29.7 kB / 448.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.1145, allocations: 111.9 kB / 448.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1146, allocations: 15.89 kB / 448.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1146, allocations: 4 kB / 448.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.1146, allocations: 322.8 kB / 448.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.1147, allocations: 43.91 kB / 448.6 MB, free: 9.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1149, allocations: 159.3 kB / 448.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.115, allocations: 71.89 kB / 448.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.115, allocations: 3.938 kB / 448.9 MB, free: 9.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002852/0.1153, allocations: 213.6 kB / 449.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1153, allocations: 8.062 kB / 449.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1153, allocations: 8 kB / 449.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1154, allocations: 8 kB / 449.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1155, allocations: 39.91 kB / 449.1 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1155, allocations: 8 kB / 449.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.1156, allocations: 19.84 kB / 449.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1156, allocations: 8 kB / 449.2 MB, free: 9.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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 9.229e-05/0.1157, allocations: 153.5 kB / 449.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.1159, allocations: 165.3 kB / 449.5 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.116, allocations: 24.83 kB / 449.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.116, allocations: 0 / 449.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.116, allocations: 4 kB / 449.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.116, allocations: 0 / 449.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1162, allocations: 205.5 kB / 449.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1162, allocations: 3.984 kB / 449.7 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.1164, allocations: 43.84 kB / 449.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1164, allocations: 4.031 kB / 449.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1164, allocations: 11.95 kB / 449.8 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1164, allocations: 0 / 449.8 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1164, allocations: 4 kB / 449.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.1167, allocations: 398.2 kB / 450.2 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.1168, allocations: 96.89 kB / 450.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1168, allocations: 4 kB / 450.3 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1169, allocations: 15.94 kB / 450.3 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.117, allocations: 4 kB / 450.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.117, allocations: 4 kB / 450.3 MB, free: 8.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.1171, allocations: 115.2 kB / 450.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1171, allocations: 0 / 450.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.1174, allocations: 23.91 kB / 450.4 MB, free: 7.906 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 1 * 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 9.909e-05/0.1175, allocations: 103.2 kB / 450.5 MB, free: 7.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1178, allocations: 152.2 kB / 450.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1178, allocations: 0 / 450.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.1179, allocations: 27.92 kB / 450.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.1184, allocations: 104.7 kB / 450.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.119, allocations: 432.3 kB / 451.2 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.1191, allocations: 0.7399 MB / 452 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.1192, allocations: 15.44 kB / 452 MB, free: 6.277 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1192, allocations: 0 / 452 MB, free: 6.277 MB / 298.7 MB Notification: Performance of Templates: time 0.002733/0.1219, allocations: 1.742 MB / 453.7 MB, free: 4.535 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)