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.00584/0.00584, allocations: 92.27 kB / 15.91 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 199.3 kB / 16.84 MB, free: 6.188 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.678/1.678, allocations: 205.1 MB / 222.7 MB, free: 4.715 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.09408/0.09408, allocations: 12.6 MB / 282.6 MB, free: 8.852 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.001619/0.001619, allocations: 88.77 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 49.4 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.003863/0.145, allocations: 1.841 MB / 394 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.146, allocations: 0.5307 MB / 394.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1462, allocations: 4 kB / 394.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.1464, allocations: 11.86 kB / 394.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.1465, allocations: 15.92 kB / 394.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.1469, allocations: 63.81 kB / 394.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.1472, allocations: 107.6 kB / 394.7 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.1474, allocations: 89.28 kB / 394.8 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1475, allocations: 47.78 kB / 394.9 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1477, allocations: 51.77 kB / 394.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1477, allocations: 11.94 kB / 394.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.1477, allocations: 4 kB / 394.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.1478, allocations: 39.89 kB / 395 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.148, allocations: 55.61 kB / 395 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1481, allocations: 127.8 kB / 395.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1482, allocations: 0 / 395.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1482, allocations: 0 / 395.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1482, allocations: 0 / 395.2 MB, free: 0.7031 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007831/0.149, allocations: 450.9 kB / 395.6 MB, free: 220 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.149, allocations: 8.031 kB / 395.6 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.1491, allocations: 20.75 kB / 395.6 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1494, allocations: 224 kB / 395.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1494, allocations: 12.38 kB / 395.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1495, allocations: 12.38 kB / 395.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.1502, allocations: 354.6 kB / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1502, allocations: 7.938 kB / 396.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.1503, allocations: 4 kB / 396.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.1503, allocations: 4 kB / 396.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.1505, allocations: 115.8 kB / 396.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.1513, allocations: 454.5 kB / 396.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.1518, allocations: 246.4 kB / 397 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.152, allocations: 127.4 kB / 397.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.1521, allocations: 0 / 397.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.1521, allocations: 46.5 kB / 397.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.1521, allocations: 0 / 397.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006531/0.1528, allocations: 277.1 kB / 397.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.1529, allocations: 145.1 kB / 397.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1531, allocations: 154.2 kB / 397.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1531, allocations: 29.69 kB / 397.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.1532, allocations: 108 kB / 397.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.1532, allocations: 15.89 kB / 397.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.1533, allocations: 29.72 kB / 397.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1535, allocations: 326.8 kB / 398.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.976e-05/0.1536, allocations: 39.97 kB / 398.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.1538, allocations: 148.5 kB / 398.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.1541, allocations: 207.2 kB / 398.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1541, allocations: 4 kB / 398.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003337/0.1544, allocations: 205 kB / 398.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1544, allocations: 8 kB / 398.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1545, allocations: 7.938 kB / 398.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.1545, allocations: 4 kB / 398.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1546, allocations: 40.48 kB / 398.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1547, allocations: 7.984 kB / 398.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1548, allocations: 19.84 kB / 398.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.1548, allocations: 12 kB / 399 MB, free: 12.49 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.1549, allocations: 145.7 kB / 399.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.1552, allocations: 166 kB / 399.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.1552, allocations: 16.78 kB / 399.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.1553, allocations: 7.938 kB / 399.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1553, allocations: 4 kB / 399.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1553, allocations: 3.984 kB / 399.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.1556, allocations: 213.5 kB / 399.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1556, allocations: 0 / 399.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1557, allocations: 31.97 kB / 399.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1557, allocations: 4 kB / 399.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1558, allocations: 7.938 kB / 399.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1558, allocations: 4 kB / 399.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1558, allocations: 3.938 kB / 399.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.1562, allocations: 387.5 kB / 399.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.1563, allocations: 92.86 kB / 400 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1564, allocations: 11.94 kB / 400 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1565, allocations: 8 kB / 400 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.1566, allocations: 7.984 kB / 400 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.1566, allocations: 11.94 kB / 400.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.1567, allocations: 111.2 kB / 400.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1567, allocations: 0 / 400.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.157, allocations: 24 kB / 400.2 MB, free: 11.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.1572, allocations: 99.19 kB / 400.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.1575, allocations: 156.4 kB / 400.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1575, allocations: 0 / 400.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.1576, allocations: 19.98 kB / 400.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.1582, allocations: 107.9 kB / 400.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.1589, allocations: 409.4 kB / 401 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1593, allocations: 0.7438 MB / 401.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1593, allocations: 13.08 kB / 401.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.1594, allocations: 15.44 kB / 401.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1594, allocations: 0 / 401.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of Templates: time 0.004173/0.1636, allocations: 1.222 MB / 403 MB, free: 8.309 MB / 302.1 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)