Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001334/0.001334, allocations: 175.9 kB / 16.77 MB, free: 5.047 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.774/1.774, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0009004/0.0009006, allocations: 98.33 kB / 271.3 MB, free: 8.242 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.08464/0.08464, allocations: 12.6 MB / 332.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006477, allocations: 16 kB / 392.6 MB, free: 66.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1185, allocations: 50.37 MB / 442.9 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.001999/0.1206, allocations: 1.475 MB / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.1216, allocations: 0.496 MB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1218, allocations: 7.938 kB / 444.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.1219, allocations: 11.92 kB / 444.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.122, allocations: 11.88 kB / 444.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1224, allocations: 55.88 kB / 445 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1226, allocations: 111.6 kB / 445.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.1228, allocations: 85.28 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.123, allocations: 35.84 kB / 445.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1231, allocations: 47.72 kB / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.1231, allocations: 4 kB / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.1231, allocations: 0 / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.1232, allocations: 27.91 kB / 445.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.1233, allocations: 69.39 kB / 445.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1234, allocations: 99.97 kB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1234, allocations: 4 kB / 445.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1234, allocations: 4 kB / 445.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1235, allocations: 0 / 445.5 MB, free: 13.59 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.0006535/0.1241, allocations: 415.1 kB / 445.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1242, allocations: 8.031 kB / 445.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.1242, allocations: 16.75 kB / 445.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1245, allocations: 224 kB / 446.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1245, allocations: 16.38 kB / 446.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1245, allocations: 16.34 kB / 446.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.1251, allocations: 359.6 kB / 446.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1251, allocations: 0 / 446.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1252, allocations: 0 / 446.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.1252, allocations: 4 kB / 446.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.1254, allocations: 123.8 kB / 446.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.1259, allocations: 462.4 kB / 447.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.1263, allocations: 250.3 kB / 447.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.1265, allocations: 135.4 kB / 447.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1266, allocations: 8.203 kB / 447.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.1266, allocations: 38.5 kB / 447.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/0.1266, allocations: 4 kB / 447.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005673/0.1272, allocations: 281.3 kB / 447.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.1273, allocations: 144.8 kB / 447.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1274, allocations: 150.2 kB / 448.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1274, allocations: 33.7 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.1275, allocations: 111.9 kB / 448.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.1275, allocations: 15.89 kB / 448.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.1275, allocations: 0 / 448.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.1276, allocations: 330.8 kB / 448.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/0.1277, allocations: 39.97 kB / 448.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1278, allocations: 157.8 kB / 448.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1281, allocations: 203.2 kB / 448.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1281, allocations: 8 kB / 449 MB, free: 9.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003164/0.1284, allocations: 213.2 kB / 449.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1285, allocations: 8 kB / 449.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1285, allocations: 7.938 kB / 449.2 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1285, allocations: 4 kB / 449.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1286, allocations: 39.92 kB / 449.2 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.1286, allocations: 15.91 kB / 449.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.1287, allocations: 24.19 kB / 449.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1288, allocations: 12 kB / 449.3 MB, free: 9.383 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 0.000103/0.1289, allocations: 145.5 kB / 449.4 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.1291, allocations: 161.5 kB / 449.6 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.1291, allocations: 20.78 kB / 449.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.1292, allocations: 7.984 kB / 449.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1292, allocations: 0 / 449.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1292, allocations: 0 / 449.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.1294, allocations: 217.4 kB / 449.8 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1294, allocations: 4.031 kB / 449.8 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.1295, allocations: 35.97 kB / 449.9 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1296, allocations: 7.984 kB / 449.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1296, allocations: 3.938 kB / 449.9 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1296, allocations: 4 kB / 449.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1296, allocations: 0 / 449.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.13, allocations: 400.1 kB / 450.3 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.13, allocations: 88.95 kB / 450.3 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1301, allocations: 11.94 kB / 450.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1302, allocations: 11.98 kB / 450.4 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.1303, allocations: 4 kB / 450.4 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.1303, allocations: 8 kB / 450.4 MB, free: 8.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.1304, allocations: 111.2 kB / 450.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1304, allocations: 0 / 450.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.1308, allocations: 20 kB / 450.5 MB, free: 8.035 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 0.0001023/0.1309, allocations: 103.2 kB / 450.6 MB, free: 7.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.1312, allocations: 155.6 kB / 450.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1312, allocations: 1.125 kB / 450.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.1313, allocations: 28.03 kB / 450.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.1318, allocations: 115.8 kB / 450.9 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.1324, allocations: 435.1 kB / 451.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.1326, allocations: 0.7321 MB / 452.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.1327, allocations: 23.42 kB / 452.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1327, allocations: 0 / 452.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of Templates: time 0.00336/0.1361, allocations: 1.716 MB / 453.8 MB, free: 4.672 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)