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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009011/0.000901, allocations: 177.1 kB / 8.047 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.3 MB / 213.8 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008347/0.0008348, allocations: 82.62 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07656/0.07656, allocations: 12.6 MB / 322.3 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.518e-05/1.521e-05, allocations: 0 / 378.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3033, allocations: 50.38 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.4047, allocations: 77.49 MB / 0.4949 GB, free: 4.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.405, allocations: 55.98 kB / 0.495 GB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003732/0.4087, allocations: 1.408 MB / 0.4963 GB, free: 3.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4087, allocations: 7.938 kB / 0.4964 GB, free: 3.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.4087, allocations: 0 / 0.4964 GB, free: 3.273 MB / 346.7 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.0003572/0.4091, allocations: 362.3 kB / 0.4967 GB, free: 2.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4092, allocations: 8.031 kB / 0.4967 GB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.4092, allocations: 15.8 kB / 0.4967 GB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.4094, allocations: 190.9 kB / 0.4969 GB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.4094, allocations: 7.953 kB / 0.4969 GB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.4095, allocations: 0 / 0.4969 GB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001081/0.4096, allocations: 36 kB / 0.4969 GB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.4098, allocations: 145.8 kB / 0.4971 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4099, allocations: 7.984 kB / 0.4971 GB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4099, allocations: 0 / 0.4971 GB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4099, allocations: 0 / 0.4971 GB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.4102, allocations: 267.1 kB / 0.4973 GB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.4105, allocations: 173 kB / 0.4975 GB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.4106, allocations: 42.58 kB / 0.4976 GB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.4106, allocations: 4 kB / 0.4976 GB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.4106, allocations: 34.66 kB / 0.4976 GB, free: 1.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.4107, allocations: 0 / 0.4976 GB, free: 1.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002178/0.4109, allocations: 85.52 kB / 0.4977 GB, free: 1.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.411, allocations: 106.8 kB / 0.4978 GB, free: 1.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.4111, allocations: 114.7 kB / 0.4979 GB, free: 1.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4111, allocations: 25.7 kB / 0.4979 GB, free: 1.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.4111, allocations: 88.14 kB / 0.498 GB, free: 1.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.4112, allocations: 15.83 kB / 0.498 GB, free: 1.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4112, allocations: 0 / 0.498 GB, free: 1.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4113, allocations: 318.8 kB / 0.4983 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.4113, allocations: 16.02 kB / 0.4983 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.4114, allocations: 59.67 kB / 0.4984 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.4114, allocations: 16 kB / 0.4984 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4114, allocations: 3.953 kB / 0.4984 GB, free: 0.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001215/0.4115, allocations: 85.39 kB / 0.4985 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4116, allocations: 8.281 kB / 0.4985 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4116, allocations: 4 kB / 0.4985 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4116, allocations: 4.188 kB / 0.4985 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.4117, allocations: 19.98 kB / 0.4985 GB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4117, allocations: 3.938 kB / 0.4985 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.4118, allocations: 12.06 kB / 0.4985 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4118, allocations: 8 kB / 0.4985 GB, free: 0.7266 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/0.4119, allocations: 104.9 kB / 0.4986 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.412, allocations: 73.53 kB / 0.4987 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.412, allocations: 20.34 kB / 0.4987 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.412, allocations: 96 / 0.4987 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.412, allocations: 4 kB / 0.4987 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.4121, allocations: 3.984 kB / 0.4987 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4122, allocations: 154.1 kB / 0.4989 GB, free: 336 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.4122, allocations: 0 / 0.4989 GB, free: 336 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.4123, allocations: 19.98 kB / 0.4989 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4123, allocations: 3.953 kB / 0.4989 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4124, allocations: 4 kB / 0.4989 GB, free: 308 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4124, allocations: 3.938 kB / 0.4989 GB, free: 304 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4124, allocations: 4 kB / 0.4989 GB, free: 300 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.4126, allocations: 216.5 kB / 0.4991 GB, free: 48 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.4126, allocations: 85.02 kB / 0.4992 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.4127, allocations: 0 / 0.4992 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.4127, allocations: 8 kB / 0.4992 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.4128, allocations: 0 / 0.4992 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4128, allocations: 7.984 kB / 0.4992 GB, free: 15.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.4129, allocations: 92.97 kB / 0.4993 GB, free: 15.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4129, allocations: 0 / 0.4993 GB, free: 15.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000224/0.4131, allocations: 8 kB / 0.4993 GB, free: 15.83 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.894e-05/0.4132, allocations: 95.19 kB / 0.4994 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.4133, allocations: 48.05 kB / 0.4995 GB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4133, allocations: 0 / 0.4995 GB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.4133, allocations: 4 kB / 0.4995 GB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4136, allocations: 47.94 kB / 0.4995 GB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.4139, allocations: 117.9 kB / 0.4996 GB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.4141, allocations: 0.7046 MB / 0.5003 GB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.309e-05/0.4142, allocations: 4.438 kB / 0.5003 GB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.4142, allocations: 11.44 kB / 0.5003 GB, free: 14.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4142, allocations: 0 / 0.5003 GB, free: 14.73 MB / 362.7 MB Notification: Performance of Templates: time 0.002553/0.4168, allocations: 0.739 MB / 0.501 GB, free: 14 MB / 362.7 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)