Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.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.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001284, allocations: 105.4 kB / 16.45 MB, free: 6.434 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.001506/0.001506, allocations: 189.5 kB / 17.39 MB, free: 5.691 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.871/1.871, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09298/0.09298, allocations: 12.59 MB / 283.2 MB, free: 15.4 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.001975/0.001975, allocations: 86.48 kB / 394.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.128, allocations: 49.41 MB / 443.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.003137/0.1312, allocations: 1.682 MB / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009102/0.1321, allocations: 0.5073 MB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-05/0.1322, allocations: 4 kB / 445.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.1323, allocations: 7.875 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1324, allocations: 11.86 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1328, allocations: 47.89 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1329, allocations: 71.72 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1331, allocations: 35.91 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.1332, allocations: 31.91 kB / 446 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.1333, allocations: 35.78 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.1334, allocations: 4 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.1334, allocations: 8 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.1334, allocations: 7.938 kB / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.1335, allocations: 43.72 kB / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1336, allocations: 63.73 kB / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1336, allocations: 0 / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1336, allocations: 4 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1336, allocations: 0 / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006148/0.1342, allocations: 391.1 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1343, allocations: 8.031 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.1343, allocations: 8.844 kB / 446.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1346, allocations: 208 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1346, allocations: 8.375 kB / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1347, allocations: 8.375 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.1351, allocations: 166.1 kB / 446.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1351, allocations: 0 / 446.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1351, allocations: 3.938 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1351, allocations: 4 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1352, allocations: 31.98 kB / 446.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.1356, allocations: 290.5 kB / 447.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.1361, allocations: 173 kB / 447.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1362, allocations: 58.61 kB / 447.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1362, allocations: 0 / 447.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1362, allocations: 34.56 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.1363, allocations: 4 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003393/0.1366, allocations: 129.4 kB / 447.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1367, allocations: 110.8 kB / 447.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1369, allocations: 126 kB / 447.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1369, allocations: 29.7 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.137, allocations: 99.97 kB / 448 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.137, allocations: 12.12 kB / 448 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.137, allocations: 17.72 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1372, allocations: 322.8 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.803e-05/0.1373, allocations: 11.98 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.1373, allocations: 75.66 kB / 448.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1375, allocations: 95.53 kB / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1375, allocations: 0 / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001751/0.1377, allocations: 109.4 kB / 448.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1377, allocations: 8.281 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1377, allocations: 4 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1377, allocations: 0 / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.1378, allocations: 16 kB / 448.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1378, allocations: 7.984 kB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.1379, allocations: 4 kB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1379, allocations: 4 kB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (9): * Single equations (assignments): 9 * 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 9.961e-05/0.138, allocations: 125.7 kB / 448.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1382, allocations: 77.53 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.1382, allocations: 24.23 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1382, allocations: 4 kB / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1382, allocations: 0 / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1383, allocations: 0 / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1385, allocations: 185.4 kB / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1385, allocations: 0 / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.1386, allocations: 19.98 kB / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1386, allocations: 320 / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1386, allocations: 0 / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1386, allocations: 8 kB / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1386, allocations: 0 / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1388, allocations: 213.2 kB / 449.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.1389, allocations: 89 kB / 449.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1389, allocations: 4 kB / 449.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/0.139, allocations: 4 kB / 449.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.139, allocations: 4 kB / 449.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1391, allocations: 4 kB / 449.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.91e-05/0.1391, allocations: 99.27 kB / 449.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.984e-06/0.1391, allocations: 0 / 449.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1394, allocations: 11.94 kB / 449.5 MB, free: 10.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001194/0.1395, allocations: 99.23 kB / 449.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1397, allocations: 60.34 kB / 449.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1397, allocations: 4.062 kB / 449.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.1397, allocations: 8 kB / 449.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1401, allocations: 39.95 kB / 449.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.1405, allocations: 208.8 kB / 449.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1408, allocations: 0.6963 MB / 450.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.582e-05/0.1409, allocations: 8.922 kB / 450.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1409, allocations: 11.44 kB / 450.6 MB, free: 8.883 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1409, allocations: 0 / 450.6 MB, free: 8.883 MB / 334.1 MB Notification: Performance of Templates: time 0.0034/0.1443, allocations: 0.9147 MB / 451.5 MB, free: 7.969 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)