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.001402/0.001402, allocations: 106.2 kB / 16.31 MB, free: 5.879 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.001441/0.001441, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.741/1.741, allocations: 205.1 MB / 223.1 MB, free: 12.26 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.07692/0.07692, allocations: 12.6 MB / 283.1 MB, free: 15.46 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.002427/0.002428, allocations: 87.88 kB / 343.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4088, allocations: 49.38 MB / 392.9 MB, free: 49.19 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.004712/0.4136, allocations: 1.679 MB / 394.6 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.4148, allocations: 0.5145 MB / 395.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.4149, allocations: 2.656 kB / 395.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.089e-05/0.415, allocations: 9.891 kB / 395.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.4151, allocations: 9.984 kB / 395.1 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.4155, allocations: 45.27 kB / 395.1 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.4157, allocations: 70.3 kB / 395.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.416, allocations: 35.34 kB / 395.2 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.4162, allocations: 32.44 kB / 395.3 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4163, allocations: 32.62 kB / 395.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.4163, allocations: 7.156 kB / 395.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.4164, allocations: 3.844 kB / 395.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.4164, allocations: 18.08 kB / 395.3 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.4165, allocations: 32.84 kB / 395.4 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.4167, allocations: 70.45 kB / 395.4 MB, free: 47.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.4167, allocations: 0 / 395.4 MB, free: 47.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.4167, allocations: 0 / 395.4 MB, free: 47.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.4167, allocations: 3.938 kB / 395.4 MB, free: 47.46 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.0006377/0.4174, allocations: 375.1 kB / 395.8 MB, free: 47.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4174, allocations: 9.688 kB / 395.8 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.4175, allocations: 13.06 kB / 395.8 MB, free: 47.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.4177, allocations: 199.4 kB / 396 MB, free: 46.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4177, allocations: 3.906 kB / 396 MB, free: 46.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.4177, allocations: 11.94 kB / 396 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.4181, allocations: 174.8 kB / 396.2 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4182, allocations: 0 / 396.2 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4182, allocations: 5.875 kB / 396.2 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4182, allocations: 5.125 kB / 396.2 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.4183, allocations: 36.31 kB / 396.3 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.4187, allocations: 285.2 kB / 396.5 MB, free: 46.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.4189, allocations: 179.1 kB / 396.7 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4191, allocations: 52.59 kB / 396.8 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.4191, allocations: 2.219 kB / 396.8 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.4191, allocations: 40.2 kB / 396.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.4191, allocations: 1.219 kB / 396.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003466/0.4195, allocations: 123.5 kB / 396.9 MB, free: 46.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.4196, allocations: 110.9 kB / 397 MB, free: 45.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4197, allocations: 125.9 kB / 397.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.4197, allocations: 25.7 kB / 397.2 MB, free: 45.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.4198, allocations: 96.94 kB / 397.3 MB, free: 45.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.4198, allocations: 6.672 kB / 397.3 MB, free: 45.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4198, allocations: 29.33 kB / 397.3 MB, free: 45.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.4199, allocations: 315.4 kB / 397.6 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.42, allocations: 16.09 kB / 397.6 MB, free: 45.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.4201, allocations: 67.97 kB / 397.7 MB, free: 45.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4202, allocations: 97.8 kB / 397.8 MB, free: 45.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4202, allocations: 0.75 kB / 397.8 MB, free: 45.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001882/0.4204, allocations: 104.3 kB / 397.9 MB, free: 45.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4204, allocations: 9.016 kB / 397.9 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4205, allocations: 2.969 kB / 397.9 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4205, allocations: 2.938 kB / 397.9 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.4206, allocations: 22.23 kB / 397.9 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4206, allocations: 2.219 kB / 397.9 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.4207, allocations: 13.95 kB / 397.9 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.4207, allocations: 4.516 kB / 398 MB, free: 45.13 MB / 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 8.502e-05/0.4208, allocations: 127.9 kB / 398.1 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.4209, allocations: 81.22 kB / 398.2 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.4209, allocations: 11.64 kB / 398.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4209, allocations: 1.781 kB / 398.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.421, allocations: 1.812 kB / 398.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.421, allocations: 0.6094 kB / 398.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.4211, allocations: 187.9 kB / 398.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4211, allocations: 2.312 kB / 398.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.883e-05/0.4212, allocations: 20 kB / 398.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4212, allocations: 5.172 kB / 398.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4213, allocations: 1.156 kB / 398.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4213, allocations: 2.188 kB / 398.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4213, allocations: 4 kB / 398.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.4215, allocations: 205.8 kB / 398.6 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.4215, allocations: 83.39 kB / 398.7 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.4215, allocations: 2.281 kB / 398.7 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.4216, allocations: 10.33 kB / 398.7 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4217, allocations: 5.156 kB / 398.7 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4217, allocations: 2.281 kB / 398.7 MB, free: 44.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.203e-05/0.4218, allocations: 97.86 kB / 398.8 MB, free: 44.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4218, allocations: 0 / 398.8 MB, free: 44.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.422, allocations: 12.19 kB / 398.8 MB, free: 44.33 MB / 318.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.0001343/0.4222, allocations: 96.81 kB / 398.9 MB, free: 44.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4224, allocations: 66.69 kB / 399 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4224, allocations: 0 / 399 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.4225, allocations: 16.8 kB / 399 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.4231, allocations: 51.11 kB / 399 MB, free: 44.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.4236, allocations: 198.1 kB / 399.2 MB, free: 43.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.4237, allocations: 0.7012 MB / 399.9 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.024e-05/0.4238, allocations: 3.875 kB / 399.9 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.4238, allocations: 15.86 kB / 399.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4238, allocations: 9.031 kB / 399.9 MB, free: 43.26 MB / 318.1 MB Notification: Performance of Templates: time 0.003636/0.4275, allocations: 0.8881 MB / 400.8 MB, free: 42.82 MB / 318.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)