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.0007289/0.0007289, allocations: 103 kB / 16.07 MB, free: 32 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.000837/0.0008371, allocations: 182.1 kB / 16.97 MB, free: 6.879 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.221/1.221, allocations: 205.4 MB / 223.1 MB, free: 5.75 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.06498/0.06498, allocations: 12.61 MB / 284 MB, free: 8.805 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.0006231/0.0006231, allocations: 24 kB / 345.2 MB, free: 20.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07044/0.07107, allocations: 50.38 MB / 395.5 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.001636/0.07274, allocations: 1.397 MB / 396.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006162/0.07337, allocations: 0.4958 MB / 397.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.07344, allocations: 3.938 kB / 397.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.07346, allocations: 3.938 kB / 397.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.07352, allocations: 7.938 kB / 397.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.07376, allocations: 55.81 kB / 397.5 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.07386, allocations: 59.78 kB / 397.6 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.07396, allocations: 39.97 kB / 397.6 MB, free: 376 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.07403, allocations: 19.88 kB / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.0741, allocations: 31.78 kB / 397.7 MB, free: 324 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.07412, allocations: 0 / 397.7 MB, free: 324 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.07413, allocations: 4 kB / 397.7 MB, free: 320 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.07416, allocations: 11.92 kB / 397.7 MB, free: 308 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.0742, allocations: 49.52 kB / 397.7 MB, free: 252 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.076e-05/0.07429, allocations: 64 kB / 397.8 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.0743, allocations: 0 / 397.8 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.07431, allocations: 4 kB / 397.8 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.07432, allocations: 0 / 397.8 MB, free: 184 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003792/0.0747, allocations: 371.2 kB / 398.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.07474, allocations: 12.03 kB / 398.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.07477, allocations: 12.78 kB / 398.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.07494, allocations: 200 kB / 398.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.07496, allocations: 8.375 kB / 398.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.07498, allocations: 4.375 kB / 398.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.07529, allocations: 170.2 kB / 398.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.07531, allocations: 0 / 398.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.07532, allocations: 7.938 kB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.07533, allocations: 0 / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.07545, allocations: 39.97 kB / 398.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.07572, allocations: 282.5 kB / 398.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.07595, allocations: 184.9 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.07605, allocations: 50.62 kB / 399.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.07608, allocations: 0 / 399.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.07611, allocations: 46.55 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.07611, allocations: 0 / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002791/0.0764, allocations: 125.4 kB / 399.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.07647, allocations: 110.8 kB / 399.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.07658, allocations: 134.2 kB / 399.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.0766, allocations: 29.7 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.07664, allocations: 88.14 kB / 399.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.07667, allocations: 11.89 kB / 399.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.07669, allocations: 13.72 kB / 399.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.07679, allocations: 318.8 kB / 400 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.07684, allocations: 15.98 kB / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.07692, allocations: 75.66 kB / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.07705, allocations: 99.53 kB / 400.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.07706, allocations: 0 / 400.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000166/0.07723, allocations: 113.4 kB / 400.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.07725, allocations: 8 kB / 400.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.07726, allocations: 192 / 400.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.07727, allocations: 4 kB / 400.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.07735, allocations: 24.27 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.07737, allocations: 4 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.07742, allocations: 11.92 kB / 400.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.07744, allocations: 4 kB / 400.3 MB, free: 13.3 MB / 302.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 7.303e-05/0.07752, allocations: 121.7 kB / 400.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.07763, allocations: 85.52 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.07766, allocations: 8.312 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.07767, allocations: 4 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.07768, allocations: 4 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.07769, allocations: 0 / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.0779, allocations: 177.9 kB / 400.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.07791, allocations: 0 / 400.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.078, allocations: 27.98 kB / 400.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.07801, allocations: 0 / 400.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.07802, allocations: 4 kB / 400.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.07803, allocations: 0 / 400.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.07803, allocations: 0 / 400.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.07825, allocations: 221.1 kB / 400.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.07829, allocations: 88.95 kB / 401 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.07831, allocations: 0 / 401 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.07839, allocations: 8 kB / 401 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.07842, allocations: 3.984 kB / 401 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.07843, allocations: 11.94 kB / 401.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.739e-05/0.07848, allocations: 95.27 kB / 401.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07849, allocations: 0 / 401.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.07873, allocations: 12 kB / 401.2 MB, free: 12.34 MB / 302.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 6.765e-05/0.0788, allocations: 99.19 kB / 401.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.07896, allocations: 64.41 kB / 401.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.07897, allocations: 3.938 kB / 401.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.07901, allocations: 8 kB / 401.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.07936, allocations: 47.94 kB / 401.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.0797, allocations: 222.7 kB / 401.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.07993, allocations: 0.7043 MB / 402.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.07997, allocations: 4.562 kB / 402.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.08, allocations: 15.44 kB / 402.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.08001, allocations: 0 / 402.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Templates: time 0.002521/0.08253, allocations: 0.8166 MB / 403.1 MB, free: 10.3 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: