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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 100.3 kB / 15.73 MB, free: 436 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.001137/0.001137, allocations: 178.2 kB / 16.61 MB, free: 6.418 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.66/1.66, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.0971/0.0971, allocations: 12.6 MB / 283.6 MB, free: 8.703 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.0007503/0.0007505, allocations: 28.94 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1347, allocations: 50.38 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.002599/0.1373, allocations: 1.453 MB / 396.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1385, allocations: 0.5155 MB / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.1387, allocations: 0 / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.1389, allocations: 11.92 kB / 396.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.139, allocations: 15.91 kB / 396.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.1395, allocations: 59.88 kB / 396.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1398, allocations: 71.84 kB / 397 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.1401, allocations: 81.23 kB / 397.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1403, allocations: 35.84 kB / 397.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1404, allocations: 43.7 kB / 397.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1405, allocations: 4 kB / 397.2 MB, free: 500 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.1405, allocations: 4 kB / 397.2 MB, free: 496 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.1406, allocations: 27.91 kB / 397.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.1406, allocations: 41.64 kB / 397.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1408, allocations: 88.06 kB / 397.3 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1408, allocations: 0 / 397.3 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1408, allocations: 8 kB / 397.3 MB, free: 324 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1408, allocations: 0 / 397.3 MB, free: 324 kB / 286.1 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.0009444/0.1418, allocations: 426.8 kB / 397.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.1419, allocations: 8.031 kB / 397.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.797e-05/0.142, allocations: 19.75 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.1424, allocations: 226.7 kB / 398 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1424, allocations: 12 kB / 398 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.1425, allocations: 12 kB / 398 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.1433, allocations: 339.5 kB / 398.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1433, allocations: 7.938 kB / 398.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.1433, allocations: 4 kB / 398.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.1434, allocations: 4 kB / 398.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.1437, allocations: 123.8 kB / 398.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.1445, allocations: 462.4 kB / 398.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.1451, allocations: 246.4 kB / 399.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.1451, allocations: 12.23 kB / 399.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1452, allocations: 42.48 kB / 399.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.893e-06/0.1452, allocations: 0 / 399.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007947/0.146, allocations: 354.9 kB / 399.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.1462, allocations: 144.5 kB / 399.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1464, allocations: 154.1 kB / 399.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1464, allocations: 29.7 kB / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.1465, allocations: 116.2 kB / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1465, allocations: 11.91 kB / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.1466, allocations: 4 kB / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1468, allocations: 326.8 kB / 400.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1469, allocations: 39.97 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.1472, allocations: 158.4 kB / 400.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.1473, allocations: 67.97 kB / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1474, allocations: 0 / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000433/0.1478, allocations: 205.1 kB / 400.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.1478, allocations: 15.89 kB / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1479, allocations: 4 kB / 400.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.1479, allocations: 8.547 kB / 400.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.148, allocations: 43.98 kB / 400.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1481, allocations: 7.938 kB / 400.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.1483, allocations: 23.83 kB / 400.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.1483, allocations: 8 kB / 400.9 MB, free: 12.36 MB / 302.1 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.0001534/0.1484, allocations: 149.5 kB / 401.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.1488, allocations: 169.9 kB / 401.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.1489, allocations: 24.83 kB / 401.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.1489, allocations: 4 kB / 401.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1489, allocations: 0 / 401.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.1489, allocations: 4 kB / 401.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1493, allocations: 209.5 kB / 401.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.1493, allocations: 4 kB / 401.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.1495, allocations: 31.92 kB / 401.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1495, allocations: 4 kB / 401.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1495, allocations: 3.984 kB / 401.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1495, allocations: 7.953 kB / 401.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1496, allocations: 4 kB / 401.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.1501, allocations: 437.3 kB / 402 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.1502, allocations: 96.94 kB / 402.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1503, allocations: 0 / 402.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1504, allocations: 12 kB / 402.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1505, allocations: 3.984 kB / 402.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.1505, allocations: 15.92 kB / 402.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.45e-05/0.1506, allocations: 115.2 kB / 402.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1506, allocations: 0 / 402.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.151, allocations: 27.91 kB / 402.2 MB, free: 10.94 MB / 302.1 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.0001759/0.1512, allocations: 95.19 kB / 402.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1516, allocations: 160 kB / 402.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1516, allocations: 0 / 402.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.1517, allocations: 24.86 kB / 402.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.1522, allocations: 104 kB / 402.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.1531, allocations: 406.5 kB / 403 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.1538, allocations: 0.7437 MB / 403.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.1539, allocations: 29.05 kB / 403.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.154, allocations: 15.44 kB / 403.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.154, allocations: 0 / 403.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of Templates: time 0.005148/0.1592, allocations: 1.155 MB / 404.9 MB, free: 8.152 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: