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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02634/0.02634, allocations: 107.3 kB / 17.12 MB, free: 5.922 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 190.7 kB / 20.07 MB, free: 2.988 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 227.9 MB, free: 4.391 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.3843/0.3843, allocations: 12.61 MB / 289.9 MB, free: 6.418 MB / 238.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") [Timeout 660] 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.00298/0.00298, allocations: 95.81 kB / 402.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215/1.218, allocations: 49.4 MB / 452.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.01273/1.231, allocations: 1.692 MB / 454 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/1.235, allocations: 0.5089 MB / 454.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003682/1.239, allocations: 2.969 kB / 454.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/1.239, allocations: 11.86 kB / 454.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/1.239, allocations: 9.25 kB / 454.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00903/1.248, allocations: 39.23 kB / 454.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004198/1.252, allocations: 71.12 kB / 454.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/1.253, allocations: 39.58 kB / 454.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/1.253, allocations: 35.23 kB / 454.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/1.253, allocations: 32.62 kB / 454.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/1.253, allocations: 5.344 kB / 454.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/1.253, allocations: 5.031 kB / 454.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/1.253, allocations: 15.14 kB / 454.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/1.253, allocations: 39.08 kB / 454.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.952e-05/1.253, allocations: 67.67 kB / 454.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/1.253, allocations: 4 kB / 454.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/1.253, allocations: 0 / 454.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002895/1.254, allocations: 0 / 454.8 MB, free: 2.602 MB / 318.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.0508/1.305, allocations: 388.9 kB / 455.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001821/1.305, allocations: 9.969 kB / 455.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/1.305, allocations: 9.234 kB / 455.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007868/1.313, allocations: 210.4 kB / 455.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/1.313, allocations: 4.625 kB / 455.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/1.313, allocations: 6.562 kB / 455.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/1.318, allocations: 167.2 kB / 455.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/1.318, allocations: 0 / 455.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/1.318, allocations: 5.375 kB / 455.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.318, allocations: 1.375 kB / 455.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/1.318, allocations: 37.78 kB / 455.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/1.322, allocations: 280.2 kB / 455.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/1.324, allocations: 180.5 kB / 456.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/1.324, allocations: 55.12 kB / 456.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004558/1.325, allocations: 1.375 kB / 456.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/1.325, allocations: 39.94 kB / 456.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/1.325, allocations: 1.375 kB / 456.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.005384/1.33, allocations: 123 kB / 456.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007003/1.331, allocations: 117.5 kB / 456.4 MB, free: 1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/1.331, allocations: 125.8 kB / 456.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/1.331, allocations: 25.7 kB / 456.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/1.333, allocations: 99.34 kB / 456.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.334, allocations: 13.56 kB / 456.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/1.335, allocations: 23.7 kB / 456.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/1.335, allocations: 316.2 kB / 457 MB, free: 416 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/1.335, allocations: 16.36 kB / 457.1 MB, free: 408 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/1.335, allocations: 71.69 kB / 457.1 MB, free: 320 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/1.336, allocations: 96.75 kB / 457.2 MB, free: 216 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.336, allocations: 1.25 kB / 457.2 MB, free: 216 kB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003039/1.336, allocations: 110.7 kB / 457.3 MB, free: 140 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000242/1.336, allocations: 9.531 kB / 457.3 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002084/1.338, allocations: 2.25 kB / 457.3 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/1.339, allocations: 2.688 kB / 457.3 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.34, allocations: 19.02 kB / 457.4 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.972e-05/1.341, allocations: 2.594 kB / 457.4 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/1.341, allocations: 7.438 kB / 457.4 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005024/1.346, allocations: 5.219 kB / 457.4 MB, free: 128 kB / 318.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 0.0004656/1.346, allocations: 129.9 kB / 457.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.346, allocations: 80.3 kB / 457.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/1.347, allocations: 15.59 kB / 457.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.347, allocations: 1.156 kB / 457.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.347, allocations: 5.156 kB / 457.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/1.347, allocations: 0.9688 kB / 457.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/1.347, allocations: 177 kB / 457.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.347, allocations: 0 / 457.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/1.347, allocations: 17.67 kB / 457.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.347, allocations: 1.656 kB / 457.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.347, allocations: 1.406 kB / 457.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.347, allocations: 9.375 kB / 457.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.347, allocations: 1.344 kB / 457.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/1.348, allocations: 209.1 kB / 458 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/1.348, allocations: 87.44 kB / 458.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/1.348, allocations: 6.281 kB / 458.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/1.348, allocations: 10.19 kB / 458.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001924/1.35, allocations: 1.125 kB / 458.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/1.35, allocations: 7.641 kB / 458.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000267/1.351, allocations: 99.58 kB / 458.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.351, allocations: 0 / 458.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004718/1.351, allocations: 7.312 kB / 458.2 MB, free: 15.3 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.01413/1.365, allocations: 100.9 kB / 458.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.376, allocations: 58.28 kB / 458.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.376, allocations: 3.938 kB / 458.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/1.376, allocations: 14.62 kB / 458.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01356/1.39, allocations: 44.44 kB / 458.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03431/1.425, allocations: 195 kB / 458.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/1.427, allocations: 0.6997 MB / 459.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00108/1.428, allocations: 5.562 kB / 459.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/1.428, allocations: 11.56 kB / 459.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/1.428, allocations: 0 / 459.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of Templates: time 0.03009/1.458, allocations: 0.9007 MB / 460.3 MB, free: 13.8 MB / 334.1 MB [Timeout remaining time 658] make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile [Timeout 660] (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) [Timeout 480]